-
Notifications
You must be signed in to change notification settings - Fork 24.2k
fix distributed.checkpoint.state_dict.set_model_state_dict
returned _IncompatibleKeys when full_state_dict=True
#153351
New issue
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 8000 to your account
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/153351
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 7317ade with merge base 0104ac0 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
full_state_dict
distributed.checkpoint.state_dict.set_model_state_dict
returned _IncompatibleKeys when full_state_dict=True
@YassineYousfi Thanks for the fix. Would you mind to update the unittest to cover the case as well? |
added to |
Fixes #153350
cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k