Skip to content

[HIP] [FlyDSL] [JIT] Revert " Feat/topk per row gfx950" - #6991

Merged
valarLip merged 1 commit into
mainfrom
revert-5686-feat/topk-per-row-gfx950-avo
Oct 27, 2026
Merged

valarLip merged 1 commit into
mainfrom
revert-5686-feat/topk-per-row-gfx950-avo

Conversation

@junhaha666

Copy link
Copy Markdown
Contributor

Reverts #5686 On the gfx1250, a compilation error occurred because of the dispatch to the hip topk_per_row_kernels.

@junhaha666
junhaha666 requested a review from a team October 27, 2026 05:59
@github-actions github-actions Bot changed the title Revert "[HIP] [FlyDSL] [JIT] Feat/topk per row gfx950" [HIP] [FlyDSL] [JIT] Revert " Feat/topk per row gfx950" Oct 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

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

Extended tests (opt-in via labels):

Label Tests
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 gfx1201 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 6991 --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.

@valarLip
valarLip merged commit 93d4679 into main Oct 27, 2026
36 checks passed
@valarLip
valarLip deleted the revert-5686-feat/topk-per-row-gfx950-avo branch October 27, 2026 06:06
junhaha666 pushed a commit that referenced this pull request Oct 28, 2026
…ing topk_plain on gfx1250 (#7014)

* Reapply "[HIP] [FlyDSL] [JIT] Feat/topk per row gfx950 (#5686)" (#6991)

This reverts commit 93d4679.

* topk_select: keep plain's module off the arches it does not build for

topk_plain_batches_ragged_rows now asks plain's module (topk_plain_uses_radix)
rather than a Python mirror of it, and _available asks it for every fp32 call
with k <= 2048 on any GPU. On gfx1250 the first topk_select call therefore
builds module_topk_plain, and that build fails: topk_plain_kernels.cu's
`>= 2 * opus::get_warp_size()` static_asserts do not hold at wave32. It fails
the same way without this branch; every other topk translation unit builds
for gfx1250.

plain is now offered, and its module asked, on gfx942 and gfx950 only. The
other shape rules ask it only where plain is in the set or the arch is one of
those two, so a gfx1250 call routes among argmax, small_k, decode and stream
without touching the module. test_plain_off_its_arches routes as gfx1250 with
every module_topk_plain binding refusing: all 450 of its calls asked one
before this change, none after.
vpietila-amd pushed a commit that referenced this pull request Oct 28, 2026
…ing topk_plain on gfx1250 (#7014)

* Reapply "[HIP] [FlyDSL] [JIT] Feat/topk per row gfx950 (#5686)" (#6991)

This reverts commit 93d4679.

* topk_select: keep plain's module off the arches it does not build for

topk_plain_batches_ragged_rows now asks plain's module (topk_plain_uses_radix)
rather than a Python mirror of it, and _available asks it for every fp32 call
with k <= 2048 on any GPU. On gfx1250 the first topk_select call therefore
builds module_topk_plain, and that build fails: topk_plain_kernels.cu's
`>= 2 * opus::get_warp_size()` static_asserts do not hold at wave32. It fails
the same way without this branch; every other topk translation unit builds
for gfx1250.

plain is now offered, and its module asked, on gfx942 and gfx950 only. The
other shape rules ask it only where plain is in the set or the arch is one of
those two, so a gfx1250 call routes among argmax, small_k, decode and stream
without touching the module. test_plain_off_its_arches routes as gfx1250 with
every module_topk_plain binding refusing: all 450 of its calls asked one
before this change, none after.
solinzby1 pushed a commit that referenced this pull request Nov 2, 2026
…ing topk_plain on gfx1250 (#7014)

* Reapply "[HIP] [FlyDSL] [JIT] Feat/topk per row gfx950 (#5686)" (#6991)

This reverts commit 93d4679.

* topk_select: keep plain's module off the arches it does not build for

topk_plain_batches_ragged_rows now asks plain's module (topk_plain_uses_radix)
rather than a Python mirror of it, and _available asks it for every fp32 call
with k <= 2048 on any GPU. On gfx1250 the first topk_select call therefore
builds module_topk_plain, and that build fails: topk_plain_kernels.cu's
`>= 2 * opus::get_warp_size()` static_asserts do not hold at wave32. It fails
the same way without this branch; every other topk translation unit builds
for gfx1250.

plain is now offered, and its module asked, on gfx942 and gfx950 only. The
other shape rules ask it only where plain is in the set or the arch is one of
those two, so a gfx1250 call routes among argmax, small_k, decode and stream
without touching the module. test_plain_off_its_arches routes as gfx1250 with
every module_topk_plain binding refusing: all 450 of its calls asked one
before this change, none after.
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.

2 participants