-
Notifications
You must be signed in to change notification settings - Fork 356
feat: Fix CPU offloading + add options for FSDP offload and activation ckpting #123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
f8b9514
CPU offload changes
yfw c02d454
Fix unit tests
yfw 7229b87
Add memory tracking in unit test
yfw c299a75
Merge branch 'main' into yifu/cpu_offload2
yfw 3b13a9a
ruff
yfw 95c4508
Remove expandable_segments_enabled
yfw 44edbe8
whitespace
yfw 412f57d
Offload/onload buffers
yfw ba48445
Activation checkpointing
yfw ef25d4b
ruff + tests
yfw b26b86a
No fsdp for single gpu
yfw 65d47de
Cleanup
yfw d511e0b
Merge remote-tracking branch 'origin' into yifu/cpu_offload2
yfw 45f6de4
ruff
yfw b087ae2
ruff
yfw 9194a57
Fix unit tests
yfw baf8396
Fix checkpoint
yfw 3faa60e
Increase cicd timeout
yfw 2eef1a5
Update nemo_reinforcer/models/policy/hf_policy.py
yfw 8df247c
Merge branch 'main' into yifu/cpu_offload2
terrykong e926f92
Fix configs
yfw 2887c56
ruff
yfw 949b1ae
Merge remote-tracking branch 'origin' into yifu/cpu_offload2
yfw be4a3fa
Comment about held params
yfw 30b826e
Merge remote-tracking branch 'origin' into yifu/cpu_offload2
yfw 989ea20
Fix test
yfw 6dd553c
Longer cicd timeout
yfw 31223ac
30 min timeout
yfw dd3e713
Merge remote-tracking branch 'origin' into yifu/cpu_offload2
yfw 75c0d2a
Merge remote-tracking branch 'origin' into yifu/cpu_offload2
yfw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.