Skip to content

Commit

Permalink
minor rollback gpt model change
Browse files Browse the repository at this point in the history
Signed-off-by: jasonwan <[email protected]>
  • Loading branch information
blahBlahhhJ committed Aug 31, 2023
1 parent e43ce56 commit 8871d6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1311,7 +1311,7 @@ def on_load_checkpoint(self, checkpoint) -> None:
key.replace('model.', ''): checkpoint_state_dict.pop(key)
for key in list(checkpoint_state_dict.keys())
}
missing_keys, unexpected_keys = module.load_state_dict(checkpoint_state_dict, strict=True)
module.load_state_dict(checkpoint_state_dict, strict=True)

# legacy checkpointing for interleaved
else:
Expand Down

0 comments on commit 8871d6c

Please sign in to comment.