-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix auto-microbatch] FSDP reshard and cleanup after OOM to fix the c…
…uda memory leak (#3030) * reshard and cleanup * format * fix * cleanup unit test * comments * more test * fix the warning * add numerical correctness test * Apply suggestions from code review Co-authored-by: Mihir Patel <[email protected]> * lint * fix test warnning * revert irrelevant change --------- Co-authored-by: Mihir Patel <[email protected]>
- Loading branch information
1 parent
a606314
commit 2133c17
Showing
2 changed files
with
129 additions
and
2 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