Skip to content

fix(plugins): keep #326's withdrawal of 2 kernels after the move to plugins/aiter - #338

Merged
xiaobochen-amd merged 1 commit into
mainfrom
refactor/ops-schema-migration
Nov 25, 2026
Merged

xiaobochen-amd merged 1 commit into
mainfrom
refactor/ops-schema-migration

Conversation

@zhenhuang12

Copy link
Copy Markdown
Collaborator

Why

#327 was built on the tree before #326, so on main the two kernels #326 withdrew are back under aklr/plugins/aiter with their full sources, and #326's kernel-less definitions were left in aklr/ops, which nothing loads or packages. This puts #326's result where #327 moved everything else.

Scope

Verification

Environment: head 71fd85e, MI300X gfx942 x8, lmsysorg/sglang:v0.5.22-rocm10-mi30x
Gate overrides: none

Contracts

The workloads are the ones #326 kept; no file content changes.

$ python -m aklr export check
(no output, exit 0)
$ python -m aklr validate --base origin/main --stages audit <the 2 moved schemas>
audit: checking 2 schemas
audit: checking changes against base 8afc4c6a0c58
audit: passed, findings: 0, 0:00:00
validation passed

pytest tests/core tests/plugins/aiter tests/benchmarks: 1425 passed, 284 skipped, 2 failed. The 2 failures are tests/plugins/aiter/test_reference.py::TestReference::test_backend_matches_reference[[email protected]_0] and […_1]; both fail the same way on main (8afc4c6) in this image.

Not run

  • Nothing on gfx950 / MI355X: no kernel is added, so no bench.
  • No ci:gpu run.

Risk

Affects: the Points of these two files only; dispatch falls back to aiter there, as #326 intended (the situv2 decode Points lose their 3–9%).
AgentX: not checked.
If wrong: those Points run aiter's kernels instead of the two FlyDSL ones.
Undo: git revert.

…lugins/aiter

#327 was built on the tree before #326: it re-added the two withdrawn
kernel files under aklr/plugins/aiter and left #326's kernel-less
definitions behind in aklr/ops, which nothing loads.

Move the two definitions to plugins/aiter and delete the two kernel
files again; aklr/ops is gone.

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.

🔵 Needs a closer look

The knowledge-base case still points to a removed kernel file, so its documented validation command now fails.

No open issues 🎉

What changed in this PR

This PR restores #326’s withdrawal of two FlyDSL kernels after #327 moved operators into aklr/plugins/aiter, preserving their workload definitions while affected calls fall back to aiter.

Changes:

  • Places the retained GEMM and fused-MoE definitions under the active plugin root, without embedded sources or measurements.
  • Removes the reintroduced kernel implementations.
File Description
aklr/​plugins/​aiter/​gemm/​impls/​flydsl/​gemm_n32_k6144/​fac136f8a2df9c11.json Retains the GEMM workloads as a kernel-less definition.
aklr/​plugins/​aiter/​gemm/​impls/​flydsl/​gemm_n32_k6144/​84013ab6b47b45a9.json Removes the previously withdrawn GEMM implementation.
aklr/​plugins/​aiter/​fused_moe/​impls/​flydsl/​fused_moe_situv2_act_quant8_gate_up_interleaved_model_dim3584_n_experts896_topk16_inter_dim384/​5f7a34c1012ebdf7.json Retains the fused-MoE workloads as a kernel-less definition.

Review effort: Max

@xiaobochen-amd
xiaobochen-amd merged commit 5b83fd0 into main Nov 25, 2026
13 checks passed
zhenhuang12 added a commit that referenced this pull request Nov 25, 2026
New: the b-shuffled fp8 block-scaled gemms in hsaco at n2048_k7168, n7168_k2048 and n8192_k1536
(#255), and the SwiGLU fused MoE at model dim 6144, 128 experts and inter dim 384 (#320).

Replaced: the fused MoE at model dim 7168, which no longer imports and calls its baseline above 70
tokens and keeps the 9 workloads up to 70 (#322), and the two biased_grouped_topk kernels, which
rank near ties by the float32 reference's key instead of a float64 one (#293).

Withdrawn: two situv2 fused MoE kernels under main's MXFP8 bound (#322), a third and the flydsl gemm
at n32_k6144 with no Point steadily at 1.05 (#326, #338), and the flydsl gemm at n256_k6144 (#316).
Where main keeps a withdrawn kernel's workloads as a definition, they go to the schema's
kernel-less file.

A replaced kernel's source is main's new one under the branch's entry: its positional parameters,
and its bindings of the attrs the body still reads. The files pass the audit; none was run on
gfx950 here.
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.

3 participants