Repository navigation
[None][feat] Rubin merge back: MLA, DSpark, DWDP, Helix #21067
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
Open
mingyangHao
wants to merge
21
commits into
NVIDIA:main
Choose a base branch
from
mingyangHao:port/rubin-advance-main-20261023
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+7,185
−1,808
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
52b715e
[None][perf] Fuse the Kimi K3 routed RMSNorm into the MNNVL all-reduce
dc3671 c4051d7
[None][fix] Join x_ready_event in FC12/B12x CuteDSL MoE backends
sunnyqgg 87359f8
[None][fix] DFlash/DSpark: size slot-indexed rejection-sampling buffe…
xguannv 272f7bf
[None][feat] Transfer the standalone DSpark draft KV from CTX to GEN …
dc3671 a5329b6
[None][perf] Split PARALLEL autotuning across Helix CP ranks
reasonsolo b91aec3
[None][fix] Helix all-to-all: fence shared memory before the async-pr…
xguannv 80ecd72
[None][perf] FP4 MLA packed decode: shorter tile critical path and pr…
mingyangHao 358b1cc
[None][perf] FP4 MLA packed decode: simulate the waves to pick the ta…
lancelly f189f03
[None][fix] Adapt imported runtime and kernel changes to current main
mingyangHao 3df8d42
[None][fix] Merge main and align Helix V weight binding
mingyangHao b386e74
Merge main and repair Rubin mergeback integration regressions
mingyangHao e7ea5f8
Merge latest main through 5be3334257
mingyangHao 6f765ba
Fix DSpark unsupported-architecture fallback fixture
mingyangHao 646c479
Declare absent draft layers in disaggregation test manager
mingyangHao f4587da
Fix unified-cache warmup and restore DSpark SM107 routing
mingyangHao 36ae25e
Remove legacy unified DSpark draft-cache transfer
mingyangHao b60aa1f
Merge current main and resolve B12x input admission conflict
mingyangHao a1002ef
Merge main and combine DSpark import additions
mingyangHao 1d08c8c
Fix DSpark test fixtures after mergeback
mingyangHao 0671031
Preserve FP8 cache precision in windowed DFlash attention
mingyangHao 72e6cc7
Fix FC12 input-ready event joins
longlee0622 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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align each 16-lane
amaxgroup to a 128-element block, and use a group-local shuffle mask.The block-scale epilogue needs one condition: the 16 lanes in a
width=16shuffle segment must be the 16 accesses of one 128-element block. The grid code does not guarantee this.accessGroupSize = requiresTwoAccessScaleGroup(pattern) ? 2 : 1. ForkARRMSNormFP8BlockScalethe value is therefore 1, soadjustGridConfigcan choose a CTA size that is not a multiple of 16.tokenDim = 1152givesthreadsNeeded = 144. Step 5 can chooseclusterSize = 2, blockSize = 72.amaxis wrong, so the UE8M0 scale and the FP8 values are wrong.rmsNormLamport,blockChunkSize = 576is not a multiple of 128, which causes the same mismatch.0xFFFFFFFFuis also unsafe:rmsNormLamport,writeEpilogueOutputruns inside anifthat some lanes skip.__shfl_xor_synccontract and can produce undefined results or a hang.Fix:
blockChunkSizeare multiples of 128 elements.🐛 Proposed fix
In both
oneshotAllreduceFusionOpandtwoshotAllreduceFusionOp:Also add a host check that the final
blockSize % 16 == 0for this pattern.Committable suggestion