-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add ZenFlow code for Stage 3 #7516
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
sfc-gh-truwase
merged 17 commits into
deepspeedai:master
from
JoshWoo2003:zenflow_zero3
Oct 13, 2025
Merged
Changes from 6 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
7756275
Add support for ZenFlow with ZeRO-Stage 3
JoshWoo2003 eb6deca
Add ZenFlow Optimizer to support ZeRO-Stage 3
JoshWoo2003 ce78292
Format code
JoshWoo2003 d73cf43
Fix ZeRO-Offload init bug with missing `zenflow` argument
JoshWoo2003 26cc5ec
Resolve merge conflicts and update ZenFlow Stage 3 affinity
JoshWoo2003 c582cd2
Merge branch 'master' into zenflow_zero3
sfc-gh-truwase 7a1fde9
Refactor ZenFlowSelectiveAdamW to unify temp_copy_param logic
JoshWoo2003 956ef0a
Merge remote-tracking branch 'origin/zenflow_zero3' into zenflow_zero3
JoshWoo2003 2b27d50
Refactor ZenFlowSelectiveAdamW to unify group_step logic
JoshWoo2003 e0b4e5b
Merge branch 'master' into zenflow_zero3
sfc-gh-truwase a42c56f
Refactor: deduplicate process setup and add clarifying comments
JoshWoo2003 15bb92e
Merge branch 'zenflow_zero3' of https://github.com/JoshWoo2003/DeepSp…
JoshWoo2003 b4be176
Merge branch 'master' into zenflow_zero3
sfc-gh-truwase 2540646
Merge branch 'master' into zenflow_zero3
sfc-gh-truwase 9d33ce0
Merge branch 'master' into zenflow_zero3
sfc-gh-truwase 90eb5bf
Fix: bugs in zf_torch_adam unit test
JoshWoo2003 ef94a9e
Merge branch 'master' into zenflow_zero3
sfc-gh-truwase 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
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.