-
Notifications
You must be signed in to change notification settings - Fork 19
Add ExpertParallel Mixture-of-Experts Plugin #99
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
Conversation
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
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
0759fac to
6d1e646
Compare
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
b45fdda to
4e9bfa0
Compare
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
f412899 to
bccd967
Compare
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
bccd967 to
7ae52ce
Compare
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
cb8416d to
1d6a42b
Compare
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
1d6a42b to
005300b
Compare
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
21af5fb to
d3fb653
Compare
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
7 tasks
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR will supercede #69.
This PR will add a new
accelerated-moeplugin that is triton-onlyTODO:
Performance
For
ibm-granite/granite-3.0-3b-a800m-instructandMixtral-8x7B-Instruct-v0.1bfloat16no mixed precisionframework_config = None: FSDPmoe-scattermoe-granite-ep1: MoE world_size = 1moe-scattermoe-granite-ep2: MoE world_size = 2Resumption
non-sharded checkpoints: Tested resumption on 2 devices for expert size 1 and 2
Also for sharded checkpoints (mixtral): tested resumption
Handling the State Dict
we have a convinience function
restore_scattermoe_checkpoint_to_origto load the DCP checkpoint, and optionally convert back to original if the pretrained checkpoint is provided.