forked from facebookresearch/PyTorch-BigGraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send around optim state in pickled form
Summary: The use of DatasetIO to avoid copies was neat, but it doesn't extend well to a more generic interface. Since optimizers' state dicts are, like, 1% the size of their corresponding embedding table, removing it shouldn't introduce any meaningful performance regression. Reviewed By: adamlerer Differential Revision: D16961527 fbshipit-source-id: 1f48eb3c735a0d435ac61f39b3c13828aaa0353c
- Loading branch information
1 parent
cf62ab1
commit 6655a46
Showing
4 changed files
with
71 additions
and
152 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
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