Skip to content

Default AITER RMSNorm off for exact R9700 gfx12 vLLM launches - #110

Merged
haofrank merged 1 commit into
AMD-AGI:mainfrom
mehdi-saeedi:r9700-aiter-rmsnorm-default
Sep 25, 2026
Merged

haofrank merged 1 commit into
AMD-AGI:mainfrom
mehdi-saeedi:r9700-aiter-rmsnorm-default

Conversation

@mehdi-saeedi

@mehdi-saeedi mehdi-saeedi commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Default VLLM_ROCM_USE_AITER_RMSNORM=0 at Magpie's gfx12 server-launch boundary when TARGET_GPU_TYPE=r9700 and AITER is enabled.
  • Leave explicit RMSNorm values, other products, generic gfx1201/gfx12, AITER-disabled runs, and client-only phases unchanged.
  • Add focused runner tests for the positive default and the negative/override cases.

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)
  • Copilot review
  • Magpie CI

Made with Cursor

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

Copy link
Copy Markdown
Contributor Author

@copilot please review this pull request.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@haofrank haofrank left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@haofrank
haofrank merged commit 03cc199 into AMD-AGI:main Sep 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default AITER RMSNorm off for exact R9700 gfx12 vLLM server launches

3 participants