Skip to content

Commit

Permalink
Update on "[FSDP][state_dict] Restore the state_dict_config for NO_SH…
Browse files Browse the repository at this point in the history
…ARD"

Any change to the user configurations should be temporary. This PR fixes the issue when NO_SHARD state_dict/load_state_dict is called, the state_dict_config and state_dict_type are changed permanently.

Differential Revision: [D45593313](https://our.internmc.facebook.com/intern/diff/D45593313/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D45593313/)!

[ghstack-poisoned]
  • Loading branch information
fegin committed May 9, 2023
2 parents 7a9ccac + 1e6b780 commit 4d43a7d
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 4d43a7d

Please sign in to comment.