Repository navigation
[Backport - 0.1.30] Fix gfx942 FlyDSL and ROCm 10.3 hipCCL for post2 - #9045
Merged
Merged
Conversation
* [FlyDSL] gfx942 MoE Down: tile the broadcast scale views for FlyDSL 0.5.1 FlyDSL 0.5.1 (ROCm/FlyDSL#1407) refuses a tiled-MMA fragment whose static extent is not a multiple of the tile. The gfx942 Down kernels broadcast the per-channel weight scale into the C fragment through a stride-0 view whose token (MMA N) mode has extent 1, against an N tile of 16. FlyDSL 0.5.0 padded that mode to 16 silently; since the stride is 0 every padded column read the same address, so the result was right. 0.5.1 rejects it, so every gfx942 whole-MoE prefill row failed to compile its Down kernel with: (cherry picked from commit 18ec1db) Signed-off-by: zufayu <[email protected]>
Signed-off-by: zufayu <[email protected]>
zufayu
marked this pull request as ready for review
December 2, 2026 05:47
6 tasks done
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 Prepare
v0.1.30.post2from the publishedpost1commit. This release candidate adds the gfx942 FlyDSL fix and completes the ROCm 10.3 hipCCL header fix for Torch-free JIT modules. ## Motivation - vLLM AMD CI #15922 encounters the gfx942 FP8 MoE Down scale-view error with FlyDSL 0.5.3. - The existing hipCCL backport fixesmodule_attention. Torch-free HIP extensions bypass Torch include discovery, somodule_topk_plaincan still hit the missinglibhipcxxheader under ROCm 10.3. ## Changes - Cherry-pick AITER #8448 for the gfx942 FlyDSL regression. - Share ROCm include discovery between Torch and Torch-free JIT builds, includinginclude/hipcclfrom either the selected ROCm root or the split SDK devel tree. Preserve include order in the compiler flags. - Keep FlyDSL 0.5.3 and thepost1hipCCL backport. ## Testing - Localop_tests/test_cpp_extension_rocm_headers.pyran 17 tests and 34 subtests successfully. The 4 POSIX compiler tests were skipped on Windows. Ruff lint andgit diff --checkpassed. - MI300X FlyDSL validation passed on the #8448-only SHAe58db39ad. - MI300X validation on the combined SHA passed both the gfx942 MoE and ROCm header regression tests on 7ddf552. - ROCm 10.3 UFB is configured for a cold build ofmodule_attentionandmodule_topk_plain, followed by the vLLM image build and a gfx942 FP8 model smoke. - gfx942 candidate wheel build. - vLLM validation branch pins this candidate for vLLM #69442. An upstream rerun is pending. ## Dependencies FlyDSL remains at 0.5.3. ## PR Self-Review ### Reviewed revision7ddf552074e4e9867cf7e49c1df71ff6d20f92e8### Behavior and intent The zero-stride FlyDSL scale keeps the same value across each column of the full tile. ROCm system headers are now discovered for Torch-free HIP sources without a Torch import, so both JIT paths receive the hipCCL paths. ### Validation and unverified scope The combined candidate passed the focused MI300X validation. The ROCm 10.3 image, runtime smoke, and vLLM AMD CI remain pending. ### PR-specific question How does the Torch-free path resolve headers whenROCM_HOMEpoints at the runtime wheel? The shared lookup also resolves_rocm_sdk_devel/includeand uses itshipcclsubdirectory when present. ### Changed op tests -op_tests/test_cpp_extension_rocm_headers.pychecks the generated Torch-free HIP flags for both unified and split SDK include layouts. -op_tests/test_flydsl_hstu_attention.pyuses on-demand GPU architecture discovery, matching the upstream compatibility backport.