-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix activation cpu offloading (#2724)
* add cpu offload * Update composer/trainer/dist_strategy.py Co-authored-by: Mihir Patel <[email protected]> * add version guard and fix cpu offload only * fix import * add unit test * add version check * inline import in test * apply eval client fix * apply eval client fix * Update tests/trainer/test_fsdp_act_ckpt_offload.py Co-authored-by: Mihir Patel <[email protected]> * move test to test_fsdp --------- Co-authored-by: Mihir Patel <[email protected]>
- Loading branch information
1 parent
a193115
commit 4dcbc2b
Showing
3 changed files
with
96 additions
and
16 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