Skip to content

Commit

Permalink
rm loaded_state_dict_keys params
Browse files Browse the repository at this point in the history
Signed-off-by: Kaihui-intel <[email protected]>
  • Loading branch information
Kaihui-intel committed Sep 30, 2024
1 parent 72398b6 commit e9404b5
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,6 @@ def _load_remaining_pretrained_weight(self, model):
_load_state_dict_into_meta_model(
model=model,
state_dict=state_dict,
loaded_state_dict_keys=self.loaded_state_dict_keys,
start_prefix="",
expected_keys=list(state_dict.keys()),
device_map={"": self.device},
Expand Down

0 comments on commit e9404b5

Please sign in to comment.