Skip to content

[UIL] Support allgather with different message size in torch flagcx backend#459

Open
yanminjia wants to merge 3 commits into
flagos-ai:mainfrom
yanminjia:allgatherv
Open

[UIL] Support allgather with different message size in torch flagcx backend#459
yanminjia wants to merge 3 commits into
flagos-ai:mainfrom
yanminjia:allgatherv

Conversation

@yanminjia
Copy link
Copy Markdown

@yanminjia yanminjia commented Apr 23, 2026

PR Category

UIL

PR Types

New Feature

PR Description

Support allgather with different message size in torch flagcx backend. In case of MoE training with TP enabled, after dispatch communication (post_dispatch) in the forward pass, the dispatched tokens (different number) should be aggregated in TP communication group via allgather with different size message.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 23, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ MC952-arch
❌ Jia Yanmin


Jia Yanmin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Copy Markdown
Collaborator

@MC952-arch MC952-arch left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Collaborator

@mikethegoblin mikethegoblin left a comment

Choose a reason for hiding this comment

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

LGTM

@yanminjia yanminjia requested a review from aoyulong as a code owner April 29, 2026 08:14
@MC952-arch MC952-arch changed the title support allgather with different message size in torch flagcx backend [PAL] Support allgather with different message size in torch flagcx backend Apr 30, 2026
@MC952-arch MC952-arch changed the title [PAL] Support allgather with different message size in torch flagcx backend [UIL] Support allgather with different message size in torch flagcx backend Apr 30, 2026
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.

4 participants