-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce system memory usage during checkpoint loading/saving (#8694)
* avoid duplicate optimizer state dict fix Signed-off-by: jiemingz <[email protected]> * load checkpoint directly to GPU Signed-off-by: jiemingz <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix tensorstore import Signed-off-by: jiemingz <[email protected]> * fix isort Signed-off-by: jiemingz <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix loading with torch dist ckpt Signed-off-by: jiemingz <[email protected]> --------- Signed-off-by: jiemingz <[email protected]> Co-authored-by: jiemingz <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Eric Harper <[email protected]>
- Loading branch information
1 parent
417aa51
commit e64b222
Showing
2 changed files
with
20 additions
and
9 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