Repository navigation
[AMD] Use AITER ASM prefill for MiniMax-M3 HD128 attention - #41707
Merged
HaiShaw merged 2 commits intoOct 4, 2026
Merged
Conversation
zijiecode
requested review from
Fridge003,
HaiShaw,
Qiaolin-Yu,
hebiao064,
ispobock and
merrymercy
as code owners
September 29, 2026 15:52
Collaborator
Author
|
/rerun-failed-ci |
HaiShaw
approved these changes
Oct 4, 2026
3 of 5 tasks
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.
Motivation
MiniMax-M3's HD128 dense attention layers do not use AITER's FP8 ASM prefill kernel. This PR enables that path by default, including chunks that reuse cached prefixes.
Modifications
Enabled by default for supported configurations; set
SGLANG_AITER_ASM_PREFILL_HD128=0to disable it.Accuracy Tests
3 GPU regression tests passed on this branch with the enable flag unset. Tested on MI355X with AITER
acf8fdf93074, matching the current main Dockerfile.amd/MiniMax-M3-MXFP4, TP4/EP1, full 5-shot GSM8K (1,319 questions), chat-completions, 16384-token output budget, temperature 0, and real EAGLE3 verification. The baseline includes the EAGLE fix; the candidate adds only HD128 ASM prefill to the same integration stack.The candidate has two fewer correct answers out of 1,319 in each filter. Both configurations are below the 97% reference threshold.
Benchmarking and Profiling
AgentX on MI355X, TP4/EP1, C32, no KV offload, 3600 seconds per run, and 10 warmup requests per lane. Both sides use the same MiniMax-M3 integration stack with EAGLE3 and simulated acceptance length 2.78; the candidate enables only HD128 ASM prefill.
Both formal runs had zero request errors. Grace-period cancellations were 1 / 1 for baseline / candidate; warmup errors were 0 / 1 and excluded from the formal metrics.
Checklist
CI States
Latest PR Test (Base): ✅ Run #36810063195
Latest PR Test (Extra): ❌ Run #36810063055
Latest PR Test (AMD ROCm 10): ❌ Run #36810063168