Skip to content

[HIP] [JIT] Revert " Add gfx950 prefill FP8 MQA logits" - #8504

Merged
valarLip merged 1 commit into
mainfrom
revert-7183-sumin/fp8-mqa-v35wes
Nov 23, 2026
Merged

valarLip merged 1 commit into
mainfrom
revert-7183-sumin/fp8-mqa-v35wes

Conversation

@zufayu

@zufayu zufayu commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Reverts #7183

#7183 landed at 13:43 Beijing time and broke our dual-arch AITER build.
The new gfx950-only builtin is not gated, so the gfx942 compile fails with:
needs target feature gfx950-insts
Our build uses GPU_ARCH="gfx942;gfx950". Could you help check whether we should guard the kernel for gfx950 or exclude it from the gfx942 build?
PR: #7183

@zufayu
zufayu requested a review from a team November 23, 2026 12:57
@github-actions

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

  • ✅ Pre-checks (submodule verification, code formatting)
  • ✅ Aiter standard tests on MI35X
  • ✅ Triton tests on MI35X (only when aiter/ops/triton/** or related paths are changed)

Extended tests (opt-in via labels):

Label Tests
ci:mi300x Run Aiter standard tests on MI300X in PRs; main branch always runs them
ci:gfx1250-ffm-triton Run the five-shard gfx1250 FFM Triton test suite
ci:triton-300x Run an additional Triton test job on MI300X in PRs (added automatically when gfx942 configs change); main branch always runs both MI35X and MI300X
ci:triton-355 Run the full Triton test suite on MI35X, not only the tests the change affects
ci:windows Windows JIT op smoke test on the Radeon R9700 ROCm runner
ci:multi-gpu Aiter multi-GPU tests on the 8-GPU runner
ci:sglang SGLang integration tests: DeepSeek-R1-MXFP4 accuracy, Qwen 3.5 accuracy
ci:atom ATOM benchmark: DeepSeek-R1-0528, GPT-OSS-120B
ci:atom_full ATOM accuracy suite for PR and main models from ATOM models_accuracy.json
ci:vllm vLLM benchmark: DeepSeek-V4-Pro, MiniMax-M3-MXFP4
ci:all All standard extended tests (excludes ci:atom_full)

Only add ci:atom_full for FlyDSL or Triton upgrades.
Add labels via the sidebar or gh pr edit 8504 --add-label <label>

One backend per PR:
A PR changes one kernel backend: [Triton/Gluon] (Triton and Gluon count as one), [HIP], [ASM], [CK], [OPUS] or [FlyDSL]. If the title ends up with two backend tags, split the PR -- as stacked pull requests when one part cannot merge without the other.

PR title tags & labels:
Component tags ([Triton/Gluon], [HIP], [CK], [ASM], ...) are added to the PR title and as PR labels automatically from the changed files and re-synced on every push — change-type tags like [fix]/[Perf], op tags like [MLA], and human labels (ci:*) are left untouched. Add the no-auto-title label to stop the title rewrites; labels stay in sync either way.

Reviews:
A reviewer is usually assigned within one working day after the PR is ready for review (see Code Review Process). If nobody has responded for about a week, mention the area contact listed in CONTACTS.md. Want to help review? See REVIEWERS.md.

@github-actions github-actions Bot changed the title Revert "[HIP] [JIT] Add gfx950 prefill FP8 MQA logits" [HIP] [JIT] Revert " Add gfx950 prefill FP8 MQA logits" Nov 23, 2026
@aiter-bot

Copy link
Copy Markdown

WAITING ON AUTHOR

PR Self-Review

Revision 03394347b4d2 · mode shadow

Waiting for the PR author. The readiness report will appear after the self-review answers are complete for this revision.

Questions to answer in the PR description

  1. What behavior does this PR change, and why is the existing behavior insufficient?
  2. What did you validate, and what remains unverified? Include commands, hardware/configuration and results.
  3. Which architecture, dtype and shape boundaries select the changed kernel path, and what invariant prevents unsupported inputs from reaching it?
  4. For every changed op_tests/ file, what behavior does it cover and why is it not redundant? Write None if no op test changed.

Edit the PR Self-Review section in the PR description. Include the current revision SHA; this comment refreshes automatically.

Missing or invalid answers

  • FAIL — missing ### Reviewed revision in the PR description
  • FAIL — missing ### Behavior and intent in the PR description
  • FAIL — missing ### Validation and unverified scope in the PR description
  • FAIL — missing ### PR-specific question in the PR description
  • FAIL — missing ### Changed op tests in the PR description
  • FAIL — Reviewed revision must contain at least the first 7 characters of the current head SHA
  • FAIL — Behavior and intent has no substantive answer
  • FAIL — Validation and unverified scope has no substantive answer
  • FAIL — PR-specific question has no substantive answer
  • FAIL — changed op test not explained in Changed op tests: op_tests/test_fp8_mqa_logits.py
  • FAIL — Changed op tests must explain why each changed op test is necessary and non-redundant

Shadow mode reports what would block but keeps the status successful. Set AITER_PR_SELF_REVIEW_MODE=enforce only after reviewing real false positives.

@valarLip
valarLip merged commit cf16a55 into main Nov 23, 2026
59 of 60 checks passed
@valarLip
valarLip deleted the revert-7183-sumin/fp8-mqa-v35wes branch November 23, 2026 13:57
zufayu pushed a commit that referenced this pull request Nov 24, 2026
…rd (#8507)

* Reapply "[HIP] [JIT] Add gfx950 prefill FP8 MQA logits" (#7183)

This reverts commit cf16a55 (#8504),
restoring the operator from #7183 by @sumin-hong unchanged. The build fix
follows in the next commit.

* [HIP] fp8_mqa_logits: guard the gfx950 kernel for multi-arch builds

The kernel uses __builtin_amdgcn_mfma_scale_f32_32x32x64_f8f6f4 and
v_permlane32_swap_b32, which exist only on gfx950, so building with
GPU_ARCHS="gfx942;gfx950" failed with "needs target feature gfx950-insts".

Compile the kernel body only for __gfx950__ and trap elsewhere, as the
other gfx950-only kernels do. fp8_mqa_logits() now raises on other archs
instead of launching the stub.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants