forked from NVIDIA/Megatron-LM
-
Notifications
You must be signed in to change notification settings - Fork 367
Tensor parallelism for Mixture of Experts #63
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 27 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
86dba34
add tensor parallelism
siddharth9820 aa08fc1
TP for non-experts, drop token before a2a
siddharth9820 44a1203
dropping tokens after gating
siddharth9820 92051b3
remove commented code
siddharth9820 441173d
remove spurious changes
siddharth9820 7ed0611
remove commented code
siddharth9820 2f29eb5
remove spurious code
siddharth9820 1aa8ce0
remove blank line
siddharth9820 e3b0105
change to schedules
siddharth9820 3f0cbe1
modified checks in mpu/layers
siddharth9820 e79106a
better named flag
siddharth9820 30e2234
migrate code to deepspeed
siddharth9820 71088c2
remove unnecessary changes to code formatting
siddharth9820 6364a28
remove unnecessary changes to code formatting
siddharth9820 3a0eb55
shift code to deepspeed
siddharth9820 ef3f77c
remove blank lines
siddharth9820 96b1cb6
remove blank lines
siddharth9820 961bf8d
remove blank lines
siddharth9820 4089188
restore mappings.py
siddharth9820 e1a345c
restore mappings.py
siddharth9820 18c0d84
remove unnecessary code
siddharth9820 1619965
restructure code and introduce tensor parallelism for experts
siddharth9820 066632b
correct ep_size
siddharth9820 c5e0f40
set ep size correctly
siddharth9820 8398bb0
correctly set ep_size
siddharth9820 3aa05d3
remove client side code that sets ep_size
siddharth9820 e20fc2e
correct ep_size
siddharth9820 92e8839
small fix
siddharth9820 ad593a0
small fix
siddharth9820 3e361a4
Merge branch 'main' of github.com:microsoft/Megatron-DeepSpeed into m…
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
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.