-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement load_state_dict for SAAS MTGP (#1825)
Summary: Pull Request resolved: #1825 Similar to #1384, SAAS MTGP requires a custom utility for loading the state dict, which first constructs the modules with dummy samples of the correct shape, then loads the actual samples from the state dict. Reviewed By: dme65 Differential Revision: D45754619 fbshipit-source-id: 0d97e61728f6b1797c5f4dc25ec0394a3623a78e
- Loading branch information
1 parent
5600d62
commit 1eed96a
Showing
2 changed files
with
92 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters