Repository navigation
[k3-455-dev] MLA gfx1250 PS1: port ROCm/aiter#8736 (QH64 code objects, QH96/q5 row packing, row reducer, VGPR hints) - #8743
Merged
Conversation
… VGPR pins (#8736 @ 13b071f, head 2026-11-26T06:02:59Z) Port of #8736's commits d9926d2 and 13b071f onto k3-455-dev; its first commit (#8181 + #7913) is already here. Conflicts: - mla_pagesize1_fp8_fp8.py: #8736's file. It carries #7913 @ 51bb7c6 (k3-455-dev had 067fee3), the only difference in that file. - mla_reduce_kernels.cuh: k3-455-dev's file (keeps #7876 and #7914) plus #8736's row-parallel reducer and its dispatch, checked first as in #8736.
gbyu-amd
added a commit
that referenced
this pull request
Dec 3, 2026
… VGPR pins (#8736 @ 13b071f, head 2026-11-26T06:02:59Z) (#8743) Port of #8736's commits d9926d2 and 13b071f onto k3-455-dev; its first commit (#8181 + #7913) is already here. Conflicts: - mla_pagesize1_fp8_fp8.py: #8736's file. It carries #7913 @ 51bb7c6 (k3-455-dev had 067fee3), the only difference in that file. - mla_reduce_kernels.cuh: k3-455-dev's file (keeps #7876 and #7914) plus #8736's row-parallel reducer and its dispatch, checked first as in #8736. Co-authored-by: xiangM99 <[email protected]> (cherry picked from commit 5b18892)
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
Ports #8736 (head 13b071f) to
k3-455-devas one commit, authored by the PR author. #8736's first commit (#8181 + #7913) is already ink3-455-dev; this carries its commits d9926d2 and 13b071f:PS1_FP8_ASM.AITER_MLA_PS1_PACK_ROWS).kn_mla_reduce_v1_rowson gfx1250 wave32, max_seqlen_q <= 16.sched_vgpr); QH96 / QH128 code objects regenerated.Conflicts:
mla_pagesize1_fp8_fp8.py: [ASM] [HIP] [FlyDSL] Optimize gfx1250 PS1 FP8 MLA decode for Kimi-K3 target and draft workloads #8736's file. It carries [HIP] [FlyDSL] [gfx1250] MLA PS1: take 32/64-head multi-token decode as several qo tiles #7913 @ 51bb7c6 (k3-455-devhad 067fee3), the only other difference in that file.mla_reduce_kernels.cuh:k3-455-dev's file (keeps [HIP] [Perf] Wave-per-head MLA reduce for wave32 (gfx1250) decode with few splits per tile #7876 and [HIP] [gfx1250] MLA reduce: run kn_mla_reduce_v1_wide on wave32 GPUs #7914) plus [ASM] [HIP] [FlyDSL] Optimize gfx1250 PS1 FP8 MLA decode for Kimi-K3 target and draft workloads #8736's row reducer and its dispatch, checked first as in [ASM] [HIP] [FlyDSL] Optimize gfx1250 PS1 FP8 MLA decode for Kimi-K3 target and draft workloads #8736.Results
Kimi-K3 DP8 EP8 decode MLA, one MI455X,
mla_decode_fwdas ATOM calls it (fp8, page size 1, no LSE, CUDA graph replay with a 2 GiB L2 flush), B 8-128 x context 8k-128k, mean of 2 GPUs; new / old time, below 1 = faster:Tests
op_tests/test_mla_flydsl.py: 7 passed.op_tests/test_mla_shape_support.py: 20 passed, 2 skipped. WithAITER_MLA_DECODE_PS1_FLYDSL=1exported,test_decode_agreementfails both before and after this change.