Skip to content

[Chore] [AMD] aiter: Bump the gfx942/gfx950 pin to 581579ab5 - #50759

Merged
HaiShaw merged 17 commits into
sgl-project:mainfrom
kangwangamd:colin/aiter-pin-581579ab5-v2
Nov 17, 2026
Merged

HaiShaw merged 17 commits into
sgl-project:mainfrom
kangwangamd:colin/aiter-pin-581579ab5-v2

Conversation

@kangwangamd

@kangwangamd kangwangamd commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Issue #21302 collects "we need this AITER PR" requests from AMD teams. The shipped
gfx942/gfx950 pin 285579b62 dates from 2026-10-17 and is missing 7 of them.

All 7 are ancestors of 581579ab5 (2026-11-07), the AITER Scout #175 candidate, so
a single bump clears the entire backlog — nothing on the issue post-dates this commit.
45 of the 52 PRs requested on #21302 were already in the shipped pin.

aiter PR requested by what it delivers
ROCm/aiter#5993 @amd-nprotaso Qwen3.8 hc_mix kernel
ROCm/aiter#6622 @1am9trash v41 TP2 MoE config, shared-expert fusion
ROCm/aiter#5992 @ChangLiu0709 causal conv1d prefill + GDN decode/verify
ROCm/aiter#6670 @amd-nprotaso fused QSA sparse decode
ROCm/aiter#6464 @kkHuang-amd mxfp4 FlyDSL a8w4 opt & replace
ROCm/aiter#6496 @ChangLiu0709 GDN fused prefill
ROCm/aiter#6734 @omirosh Hadamard fused into MXFP4 per-1x32 quant

Membership was resolved with git merge-base --is-ancestor against each PR's merge
commit, not by comparing merge dates — a squash/rebase SHA can post-date a pin and
still not be reachable from it.

Both blockers that held this bump are now closed:

Modifications

Single file, docker/rocm.Dockerfile:

  1. AITER pin, 8 occurrences 285579b62 → 581579ab5, covering gfx942,
    gfx942-rocm720, gfx942-rocm724, gfx950, gfx950-rocm720, gfx950-rocm724,
    gfx942-rocm1000, gfx950-rocm1000.

  2. gfx1250 is deliberately NOT moved. gfx1250-rocm1000 and gfx1250-rocm1010
    stay on 07ff5f318. That lane carries its own pin and its own validation path;
    [AITER-Upgrade] PR readiness #21302 is a gfx942/gfx950 issue.

That is the whole change — 8 lines. Nothing else in the file is touched.

Note on the csrc/cpp_itfs/torch_utils.py hand-patch: it is deliberately
kept. ROCm/aiter#7101 upstreamed it and is an ancestor of 581579ab5, so the
patch is a no-op for gfx942/gfx950 — but #7101 is not an ancestor of
07ff5f318, which gfx1250 still pins, and the patch is applied in the shared
section after the AITER checkout. Removing it would drop generic torch.Stream
handling on gfx1250 under torch 2.11. It can be deleted once gfx1250 moves to a
pin containing #7101.

Accuracy Tests

Not run locally; this Docker dependency update requires AMD GPU image/accuracy CI. Docker is not available in the local environment.

Speed Tests and Profiling

Not run as a gate.

Checklist


CI States

Latest PR Test (Base): ✅ Run #43987658011
Latest PR Test (Extra): ❌ Run #43987657794
Latest PR Test (AMD ROCm 10): ❌ Run #43987657634

Tip

Base CI only covers the core cases, and its workload may not exercise your change. Use /rerun-test to run the tests your change touches, or copy this prompt for an agent:

Find the registered tests this PR affects and run them with /rerun-test, following https://github.com/sgl-project/sglang/blob/main/.agents/skills/rerun-test/SKILL.md

@claude claude Bot 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.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@bingxche

Copy link
Copy Markdown
Collaborator

Re-running the 8-flavor build-only check on the new head 6a2cd09c4f (rocm720 held at 285579b62). Nothing is pushed (push=false):

Both run from the temporary upstream branch bingxche/pr-50759-build-only, which points at the same commit. I'll post the results here when they finish.

@bingxche

Copy link
Copy Markdown
Collaborator

Build-only results for 6a2cd09c4f: all 8 images pass (nothing pushed).

Image AITER Result
gfx942-rocm1000, gfx950-rocm1000 581579ab5 pass (run)
gfx1250-rocm1000, gfx1250-rocm1010 07ff5f318 (unchanged) pass (run)
gfx942-rocm724, gfx950-rocm724 581579ab5 pass (run)
gfx942-rocm720, gfx950-rocm720 285579b62 (held) pass (run)

The build logs show the expected commit checked out per flavor, e.g. HEAD is now at 285579b62 on gfx942-rocm720 and HEAD is now at 581579ab5 on gfx942-rocm724 (FlyDSL MoE replay gfx942: 1218 ok, 0 failed).

These are build-only checks, with no accuracy or perf runs on the new pin. The legacy unsuffixed gfx942 / gfx950 stages are bumped too, but no workflow builds them, so they are not covered. The temporary branch bingxche/pr-50759-build-only is deleted.

@bingxche

Copy link
Copy Markdown
Collaborator

@kangwangamd AMD CI jobs started failing after this PR was merged, and #51079 proposes a fix. Could you review it?

cc @HaiShaw (merged, reviewed)

This PR bumped aiter to 581579ab5, which makes gemm_a16w16 raise for CPU tensors; test_qwen_vision_parallel_groups.py::test_native_vision_projection_math_and_reload calls an unquantized linear layer on CPU and now fails with 'OPUS GEMM requires a GPU tensor; got device cpu' in both runs on the new pin (Nov 17 19:23 on main, Nov 18 01:10 scheduled), after passing on aiter 285579b6.

The last passing run was on 6c9a1938 and the first failing run on b43c4c00; this PR's commit b5a4fca3 is between them.

Failing jobs (2):

If this PR isn't the cause, please say so here so the attribution can be corrected.

Posted automatically by amd-bot, the AMD CI monitor. Confidence: HIGH.

tkarttunen added a commit to tkarttunen/sglang that referenced this pull request Nov 18, 2026
aiter's QuickAllReduce dispatcher is the stable entry point for its FlyDSL
QuickReduce kernels. Building QuickAllReduceInt4 directly broke on the AITER
pin from sgl-project#50759, whose class has preload() and no compile(), so the switch
fell back to the HIP kernel. The dispatcher builds the FlyDSL engines, agrees
on them across ranks, preloads them before graph capture and serves each
payload with FlyDSL or its HIP INT4 kernel. Its AITER_* variables are set only
while it is built, because AITER_FLY_AR also switches aiter's custom
all-reduce.

Co-authored-by: Cursor <[email protected]>
@bingxche

Copy link
Copy Markdown
Collaborator

@kangwangamd AMD CI jobs started failing after this PR was merged, and the evidence points at this change.

cc @HaiShaw (merged, reviewed)

This PR moved the gfx950 aiter pin to 581579ab5, which includes ROCm/aiter#6736: fp8 per-tensor/per-token CK MoE on gfx950 now raises unless w1 and w2 are tagged is_shuffled. sglang's process_weights_hip_scale_padding (fp8.py:3224) shuffles the weights but never sets the tag, so Grok-2 fails at CUDA-graph capture in every MI35x nightly on the new aiter (Nov 17 16:08 rocm10, Nov 18 16:07 rocm10, No

The last passing run was on f75136c9 and the first failing run on b2cc023f; this PR's commit b5a4fca3 is between them.

Failing jobs (2):

If this PR is the cause, a fix or a revert would turn these jobs green again. If it isn't, please say so here so the attribution can be corrected.

Posted automatically by amd-bot, the AMD CI monitor. Confidence: HIGH.

@bingxche

Copy link
Copy Markdown
Collaborator

@kangwangamd AMD CI jobs started failing after this PR was merged, and #51463 proposes a fix. Could you review it?

cc @HaiShaw (merged, reviewed)

This PR moved aiter to 581579ab5, which rejects gfx950 FP8 per-tensor/per-token MoE weights not tagged is_shuffled; process_weights_hip_scale_padding shuffles Grok-2's MoE weights without setting the tag, so both Grok-2 MI35x servers abort at CUDA-graph capture on rocm10 and rocm724 while the rocm720 job on the old aiter passes.

The last passing run was on f75136c9 and the first failing run on b2cc023f; this PR's commit b5a4fca3 is between them.

Failing jobs (2):

If this PR isn't the cause, please say so here so the attribution can be corrected.

Posted automatically by amd-bot, the AMD CI monitor. Confidence: HIGH.

@bingxche

Copy link
Copy Markdown
Collaborator

@kangwangamd AMD CI jobs started failing after this PR was merged, and #51525 proposes a fix. Could you review it?

cc @HaiShaw (merged, reviewed)

Since this aiter bump, the NIXL PD-disaggregation prefill server aborts with 'Option spirv-expand-step registered more than once' inside aiter's FlyDSL GEMM / graph_alloc path, in the Nov 18 and Nov 19 01:10 rocm10 PR Tests. Lanes still on the old aiter pin pass.

The last passing run was on e0cf330b and the first failing run on 6f35d412; this PR's commit b5a4fca3 is between them. Also involved: #51507.

Failing jobs (2):

If this PR isn't the cause, please say so here so the attribution can be corrected.

Posted automatically by amd-bot, the AMD CI monitor. Confidence: HIGH.

omirosh added a commit to omirosh/sglang that referenced this pull request Nov 30, 2026
… images

The gfx950-rocm720 stage holds AITER at 285579b62
(sgl-project#50759). That AITER has no
hadamard_rotate on per_1x32_f4_quant_hip, so the online MXFP4 GDN
projections raise TypeError at the first forward in that image.

Set SGLANG_ROCM_GDN_ONLINE_MXFP4_HADAMARD=0 next to the held pin. The pin
bump removes the line. The unit test runs the Hadamard cases only when the
flag is on. The rocm10 and rocm724 images keep the rotation.

Co-authored-by: Cursor <[email protected]>

This branch was previously deployed

1 inactive deployment
prod — 6a2cd09c Deployed Nov 17, 2026 by bingxche via publish (gfx942-rocm720, all) #415
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants