[dev] Reuse parent communicators for dynamic context parallelism - #6801
Draft
xiaoyao0115 wants to merge 1 commit into
Draft
[dev] Reuse parent communicators for dynamic context parallelism#6801xiaoyao0115 wants to merge 1 commit into
xiaoyao0115 wants to merge 1 commit into
Conversation
xiaoyao0115
force-pushed
the
dcp-cg-parent-communicators
branch
2 times, most recently
from
August 24, 2026 12:23
edca380 to
d03753d
Compare
Contributor
Author
|
/ok to test d03753d |
xiaoyao0115
force-pushed
the
dcp-cg-parent-communicators
branch
from
August 25, 2026 08:00
d03753d to
cd8e9b2
Compare
copy-pr-bot
Bot
force-pushed
the
pull-request/6479
branch
from
August 25, 2026 08:01
7e6ba4c to
8bb6345
Compare
Contributor
Author
|
/ok to test cd8e9b2 |
xiaoyao0115
force-pushed
the
dcp-cg-parent-communicators
branch
from
August 25, 2026 09:49
cd8e9b2 to
d7cb2de
Compare
Contributor
Author
|
/ok to test d7cb2de |
xiaoyao0115
force-pushed
the
dcp-cg-parent-communicators
branch
from
August 27, 2026 09:05
d7cb2de to
e3089d5
Compare
Signed-off-by: Tailai Ma <tailaim@ferries-work.nvidia.com>
xiaoyao0115
force-pushed
the
dcp-cg-parent-communicators
branch
from
August 28, 2026 01:43
e3089d5 to
adf826b
Compare
This was referenced Aug 28, 2026
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
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.
Summary
The logical groups still determine CP size, rank, and peers. Only the communication transport is reused, so non-P2P and local implementations keep their existing behavior.
Implementation
MCore registers each logical CP group with its parent DP×CP group before TE attention. TE selects peers from the logical group but issues P2P on the parent ProcessGroup. Router reductions use a parent-sized fixed layout so different dynamic subgroups do not overlap.
This works independently of CUDA Graph. CUDA Graph slot/memory sharing is the follow-up in #6479.
Dependencies and merge order
This PR targets
dev; #6479 is stacked onpull-request/6801.Validation