We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When saving the checkpoint with a DDP model with the hook and loading with a pipeline model, the load_checkpoint can't load the ckpt correctly.
load_checkpoint
I found that the state_dict of a DDP model contains module. as the prefix. Therefore, the loading needs to be handled specially.
state_dict
module.
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
🐛 Describe the bug
When saving the checkpoint with a DDP model with the hook and loading with a pipeline model, the
load_checkpoint
can't load the ckpt correctly.I found that the
state_dict
of a DDP model containsmodule.
as the prefix. Therefore, the loading needs to be handled specially.Environment
No response
The text was updated successfully, but these errors were encountered: