-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Improving memory utilization of Z2+MoE #2079
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
14 commits
Select commit
Hold shift + click to select a range
47af728
add maximum param group size to moe
siddharth9820 8d31edb
process optimizer groups individually
siddharth9820 e6702d8
correct timer placement
siddharth9820 7dd3da2
tested with 1.3B 2.7B and 6.7B
siddharth9820 be0d2fe
Merge branch 'master' into zero2_optim_tiling
siddharth9820 b02a34f
correction in DeepSpeedCPUAdam
siddharth9820 57f64c1
torch 1.8.0 backwards compatibility
siddharth9820 563d3eb
Merge branch 'master' into zero2_optim_tiling
siddharth9820 1d9852c
modify optimizer groups dynamically
siddharth9820 af4da67
correction for DSCpuAdam
siddharth9820 2ff9812
Merge branch 'master' into zero2_optim_tiling
tjruwase 41a7d16
restored comments
siddharth9820 e9a1cd3
Merge branch 'zero2_optim_tiling' of github.com:microsoft/DeepSpeed i…
siddharth9820 3209c3b
remove print statements
siddharth9820 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tjruwase, please let me know how we would want to offer the user a way to set the max_group_size
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed, let's add an moe section in ds_config. Perhaps, @awan-10 could help with the design.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@awan-10 Perhaps the moe section can also contain a flag to toggle expert slicing too?