Repository navigation
Default AITER RMSNorm off for exact R9700 gfx12 vLLM launches - #110
Merged
Merged
Conversation
The documented ROCm 10 / AITER stack JIT-builds RMSNorm on gfx1201 against a CDNA-prebuilt core, so enabling AITER without this default fails at server start. Keep the policy at Magpie's final runner boundary and only apply it for TARGET_GPU_TYPE=r9700. Co-authored-by: Cursor <cursoragent@cursor.com>
mehdi-saeedi
requested review from
a team,
haofrank and
sinarafati-amd
as code owners
September 25, 2026 17:35
Contributor
Author
|
@copilot please review this pull request. |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No unresolved blocking issues were identified.
Review effort: Lite
Findings: None
What changed in this PR
Adds an R9700-specific AITER RMSNorm default for gfx12 vLLM server launches while preserving explicit overrides and client behavior.
Changes:
- Adds shared R9700 policy logic.
- Applies it to text and multimodal server runners.
- Adds focused coverage for defaults, overrides, exclusions, and client phases.
| File | Description |
|---|---|
tests/test_gfx12_mm_benchmark.py |
Tests defaults, overrides, product gating, and client behavior. |
Magpie/scripts/benchmark/vllm_gfx12.sh |
Applies the policy to text server launches. |
Magpie/scripts/benchmark/vllm_gfx12_mm.sh |
Applies the policy to multimodal server launches. |
Magpie/scripts/benchmark/magpie_r9700_vllm_policy.sh |
Defines the R9700 RMSNorm default policy. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Oct 8, 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
VLLM_ROCM_USE_AITER_RMSNORM=0at Magpie's gfx12 server-launch boundary whenTARGET_GPU_TYPE=r9700and AITER is enabled.gfx1201/gfx12, AITER-disabled runs, and client-only phases unchanged.Fixes #109
Follow-on to the R9700 gfx12 runner work in #102 / #100. The documented ROCm 10 / AITER stack JIT-builds RMSNorm on gfx1201 against a CDNA-prebuilt core, so enabling AITER without this default fails at server start.
Test plan
PYTHONPATH=. pytest tests/test_gfx12_mm_benchmark.py(28 passed)Made with Cursor