Skip to content
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

MoE with Expert Slicing #18565

Merged
merged 21 commits into from
Dec 6, 2023
Merged

MoE with Expert Slicing #18565

merged 21 commits into from
Dec 6, 2023

Conversation

wangyems
Copy link
Contributor

@wangyems wangyems commented Nov 23, 2023

Description

Registered Sharded MoE op under contrib_op/cuda/collective with expert slicing. The broadcast process happens just before adding second bias(if has) and permutation undoing. Tensor slicing is planned but not included in this PR.

Motivation and Context

@wangyems wangyems marked this pull request as ready for review November 27, 2023 21:23
Copy link
Contributor

@tianleiwu tianleiwu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wangyems wangyems merged commit c012e41 into main Dec 6, 2023
92 checks passed
@wangyems wangyems deleted the wangye/sharded_moe branch December 6, 2023 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants