Skip to content

[OPUS] gfx1250: keep split-K off shapes its reduce cannot address - #5162

Merged
junhaha666 merged 5 commits into
mainfrom
blyu/gfx1250_splitk_limit
Sep 9, 2026
Merged

junhaha666 merged 5 commits into
mainfrom
blyu/gfx1250_splitk_limit

Conversation

@demonsan

@demonsan demonsan commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

The split-K reduce launches as dim3(ceil(N, VEC*BLOCK), M, 1) and grid.y is capped at 65535 on this part. Past that it does not fail, it writes garbage: at M=65536 the output is NaN, and M >= 65537 stops launching at all with "invalid configuration argument". The cliff is exactly 2^16 -- M=65535 is clean, and the same shape on a .co kid, which has no reduce, is exact.

Three places, since the shape can arrive by three routes:

  • candidate selection rejects the two _ws families above 65535, so tuning never proposes one. It used to: tuning these shapes took the container down with it, which is how this was found.
  • the heuristic refuses M > 65535 outright, alongside the existing >4 GiB guard. Every kid it can return is split-K, so there is nothing to fall back to -- the message says to tune the shape instead, which lands on a .co kid.
  • the generated launcher checks before the reduce, for a tuned CSV or an explicit kernelId that predates any of this.

Scoped to gfx1250. gfx942 and gfx950 launch the same reduce with batch * M on grid.y and have the same ceiling; they are untouched here.

The four shapes that prompted this (M=65536, N=64/384/1024/2048, K=7168) now tune to 4wave_wl_co with err_ratio 0.0 where they used to hang the box, and verify against an fp32 reference with no element outside tolerance.


What the tuning commits add

The guard turns unserved split-K shapes into a hard error, so the shapes that relied on heuristic dispatch need tuned rows to land on. Two commits provide them.

1. The _ws split-K families move back to an fp32 partial

The bf16 split-K partial cleared the tuner's 5e-2 gate at half the workspace, but it is not exact: every split-K row tuned that way carried err_ratio 0.0000-0.0169 (median 0.0098), the bf16 accumulation of the partials showing through. fp32 partials take every one of them to 0.0.

fp32 is just the dataclass default, so the code change is a deletion: the loop that forced the two _ws tags to bf16 and the candidate filter that existed only because fp32 kids were the exception both go. gfx942/950 _sk families are a different tag and keep their per-name dtypes.

The 66 split-K rows this touches were re-tuned, opus vs triton in one session:

group rows err_ratio opus kept flipped to triton retune cost (geomean)
dsv3 35 →0.0 35 0 1.008x
dsv4 31 →0.0 9 22 0.992x

Per-shape fp32 costs ~13%, but re-tuning buys most of it back by re-picking split_k/tile: 1.000x geomean over all 66, 34 rows actually got faster. dsv4 loses 22 shapes to triton -- fp32 slows opus just past triton on exactly the (N,K) triton has a real tuned config for.

fp32 vs bf16 partial, all 66 re-tuned split-K rows

shape bf16 us (err) fp32 us (err) Δ now
1x64x4096 3.87 (0.0156) 4.23 (0.0000) 1.09x triton
256x64x4096 5.13 (0.0102) 4.46 (0.0000) 0.87x triton
512x64x4096 5.76 (0.0098) 4.57 (0.0000) 0.79x triton
1024x64x4096 6.36 (0.0090) 4.99 (0.0000) 0.79x triton
8x64x7168 3.85 (0.0098) 5.34 (0.0000) 1.39x opus splitk_ws
16x64x7168 4.55 (0.0098) 5.35 (0.0000) 1.18x opus splitk_ws
256x64x7168 5.57 (0.0109) 5.04 (0.0000) 0.91x triton
512x64x7168 6.31 (0.0104) 6.47 (0.0000) 1.03x opus splitk_ws
1024x64x7168 7.34 (0.0093) 7.87 (0.0000) 1.07x opus splitk_ws
2048x64x7168 10.02 (0.0083) 9.92 (0.0000) 0.99x opus splitk_ws
4096x64x7168 12.00 (0.0085) 11.60 (0.0000) 0.97x triton
256x256x4096 5.69 (0.0075) 4.51 (0.0000) 0.79x triton
1024x256x4096 8.26 (0.0069) 6.78 (0.0000) 0.82x triton
1x256x7168 4.33 (0.0117) 4.98 (0.0000) 1.15x opus splitk_ws
2x256x7168 4.65 (0.0117) 5.16 (0.0000) 1.11x opus splitk_ws
4x256x7168 4.77 (0.0166) 5.33 (0.0000) 1.12x opus splitk_ws
8x256x7168 4.88 (0.0103) 5.37 (0.0000) 1.10x opus splitk_ws
16x256x7168 4.82 (0.0115) 5.55 (0.0000) 1.15x opus splitk_ws
32x256x7168 4.87 (0.0112) 5.61 (0.0000) 1.15x opus splitk_ws
48x256x7168 5.04 (0.0104) 5.69 (0.0000) 1.13x opus splitk_ws
64x256x7168 5.10 (0.0112) 5.78 (0.0000) 1.13x opus splitk_ws
80x256x7168 5.24 (0.0112) 5.86 (0.0000) 1.12x opus splitk_ws
96x256x7168 5.27 (0.0113) 5.88 (0.0000) 1.12x opus splitk_ws
112x256x7168 5.76 (0.0103) 6.03 (0.0000) 1.05x opus splitk_ws
128x256x7168 5.80 (0.0106) 6.11 (0.0000) 1.05x opus splitk_ws
256x256x7168 6.74 (0.0110) 6.60 (0.0000) 0.98x opus splitk_ws
512x256x7168 8.73 (0.0080) 8.03 (0.0000) 0.92x opus splitk_ws
1024x256x7168 10.97 (0.0085) 10.23 (0.0000) 0.93x opus splitk_ws
2048x256x7168 14.23 (0.0083) 13.78 (0.0000) 0.97x opus 4wave_wl_co
4096x256x7168 21.58 (0.0000) 15.03 (0.0000) 0.70x opus 4wave_wl_co
4x384x7168 4.29 (0.0169) 4.51 (0.0000) 1.05x triton
8x384x7168 4.47 (0.0111) 5.45 (0.0000) 1.22x triton
16x384x7168 4.80 (0.0120) 5.49 (0.0000) 1.14x triton
256x384x7168 6.64 (0.0100) 6.36 (0.0000) 0.96x triton
512x384x7168 8.46 (0.0105) 9.53 (0.0000) 1.13x opus splitk_ws
1024x384x7168 11.95 (0.0103) 11.71 (0.0000) 0.98x triton
1x512x4096 4.43 (0.0059) 4.40 (0.0000) 0.99x triton
256x512x4096 6.77 (0.0066) 5.78 (0.0000) 0.85x triton
512x512x4096 8.10 (0.0068) 6.60 (0.0000) 0.82x triton
8x512x7168 4.41 (0.0100) 5.46 (0.0000) 1.24x triton
16x512x7168 4.55 (0.0117) 5.61 (0.0000) 1.23x opus splitk_ws
256x512x7168 8.22 (0.0087) 7.07 (0.0000) 0.86x triton
512x512x7168 10.09 (0.0081) 9.78 (0.0000) 0.97x opus splitk_ws
1024x512x7168 12.90 (0.0085) 12.40 (0.0000) 0.96x triton
8x1024x4096 4.68 (0.0092) 4.53 (0.0000) 0.97x triton
256x1024x7168 9.35 (0.0086) 8.98 (0.0000) 0.96x triton
512x1024x7168 12.75 (0.0086) 13.70 (0.0000) 1.07x opus splitk_ws
256x2048x7168 12.81 (0.0085) 12.55 (0.0000) 0.98x triton
1x2112x7168 6.64 (0.0076) 6.40 (0.0000) 0.96x opus splitk_ws
2x2112x7168 6.39 (0.0095) 6.50 (0.0000) 1.02x opus splitk_ws
4x2112x7168 6.47 (0.0095) 6.46 (0.0000) 1.00x opus splitk_ws
8x2112x7168 6.68 (0.0096) 6.55 (0.0000) 0.98x opus splitk_ws
16x2112x7168 6.75 (0.0102) 6.68 (0.0000) 0.99x opus splitk_ws
32x2112x7168 7.25 (0.0105) 7.24 (0.0000) 1.00x opus splitk_ws
48x2112x7168 8.90 (0.0102) 8.17 (0.0000) 0.92x opus splitk_ws
64x2112x7168 8.73 (0.0088) 8.43 (0.0000) 0.96x opus splitk_ws
80x2112x7168 10.35 (0.0104) 9.68 (0.0000) 0.94x opus splitk_ws
96x2112x7168 10.32 (0.0096) 9.83 (0.0000) 0.95x opus splitk_ws
112x2112x7168 10.90 (0.0107) 10.09 (0.0000) 0.92x opus splitk_ws
128x2112x7168 11.03 (0.0108) 10.24 (0.0000) 0.93x opus splitk_ws
512x2112x7168 23.22 (0.0085) 23.82 (0.0000) 1.03x opus splitk_ws
8x16160x7168 17.42 (0.0000) 16.60 (0.0000) 0.95x opus 4wave_wl_co
16x16160x7168 17.71 (0.0000) 16.94 (0.0000) 0.96x opus 4wave_wl_co
48x16160x7168 21.70 (0.0000) 18.25 (0.0000) 0.84x opus 4wave_wl_co
1x129280x7168 105.55 (0.0000) 118.73 (0.0000) 1.12x opus splitk_ws
2x129280x7168 106.00 (0.0000) 119.97 (0.0000) 1.13x opus splitk_ws

2. Nine dsv4 shapes that had no tuned bf16 row at all

These are the shapes the guard converts to a hard error: no tuned row, so heuristic dispatch served them, and it only returns split-K kids. opus takes 5 of 9 (all 4wave_wl_co), triton keeps the bandwidth-bound small-M end of N=32320. Not affected by the fp32 change -- none of the nine picks a split-K kid.

N=64, K=7168

M opus us triton us chosen
65536 72.78 75.07 opus (1.03x)

N=384, K=7168

M opus us triton us chosen
65536 180.60 227.82 opus (1.26x)

N=1024, K=7168

M opus us triton us chosen
65536 434.38 514.98 opus (1.19x)

N=2048, K=7168

M opus us triton us chosen
65536 1128.17 1201.83 opus (1.07x)

N=32320, K=7168

M opus us triton us chosen
1 — 27.30 triton
16 — 28.94 triton
32 — 32.23 triton
64 — 35.69 triton
128 41.68 43.40 opus (1.04x)

3. All 114 dsv3 gfx1250 rows re-tuned

Re-tuned because the .co kid families landed after these rows were written; opus takes all 114. The 35 split-K rows among them are the fp32 ones from section 1.

The dsv3 margin is inflated by triton config coverage. triton stores its GEMM config per (N,K) and falls back to DEFAULT.json when there is none; all 6 dsv3 (N,K) pairs fall back, so this is largely tuned-vs-untuned (2.61x geomean). The dsv4 numbers above, where triton is tuned, are the fair comparison. Adding dsv3 triton configs is the way to close it and is not attempted here. triton also failed outright on 16384x129280x7168 (us=-1).

N=256, K=7168 — triton→DEFAULT.json

M opus us triton us chosen opus family
1 4.98 17.40 opus (3.50x) splitk_ws
2 5.16 17.35 opus (3.36x) splitk_ws
4 5.33 17.35 opus (3.26x) splitk_ws
8 5.37 17.42 opus (3.25x) splitk_ws
16 5.55 17.47 opus (3.15x) splitk_ws
32 5.61 17.74 opus (3.16x) splitk_ws
48 5.69 17.69 opus (3.11x) splitk_ws
64 5.78 17.65 opus (3.05x) splitk_ws
80 5.86 17.66 opus (3.01x) splitk_ws
96 5.88 17.73 opus (3.02x) splitk_ws
112 6.03 18.00 opus (2.98x) splitk_ws
128 6.11 17.97 opus (2.94x) splitk_ws
256 6.60 17.42 opus (2.64x) splitk_ws
512 8.03 17.63 opus (2.19x) splitk_ws
1024 10.23 18.23 opus (1.78x) splitk_ws
2048 13.78 32.75 opus (2.38x) 4wave_wl_co
4096 15.03 43.66 opus (2.90x) 4wave_wl_co
8192 27.63 82.20 opus (2.98x) 4wave_wl_co
16384 37.47 165.47 opus (4.42x) 4wave_wl_co

N=2112, K=7168 — triton→DEFAULT.json

M opus us triton us chosen opus family
1 6.40 20.98 opus (3.28x) splitk_ws
2 6.50 19.15 opus (2.95x) splitk_ws
4 6.46 18.97 opus (2.94x) splitk_ws
8 6.55 20.34 opus (3.10x) splitk_ws
16 6.68 18.20 opus (2.73x) splitk_ws
32 7.24 18.38 opus (2.54x) splitk_ws
48 8.17 19.13 opus (2.34x) splitk_ws
64 8.43 19.10 opus (2.27x) splitk_ws
80 9.68 19.29 opus (1.99x) splitk_ws
96 9.83 19.32 opus (1.97x) splitk_ws
112 10.09 20.48 opus (2.03x) splitk_ws
128 10.24 20.65 opus (2.02x) splitk_ws
256 15.35 34.18 opus (2.23x) 4wave_wl_co
512 23.82 33.32 opus (1.40x) splitk_ws
1024 28.34 93.73 opus (3.31x) 4wave_wl_co
2048 35.43 171.03 opus (4.83x) 4wave_wl_co
4096 72.38 332.58 opus (4.59x) 4wave_co
8192 133.34 656.88 opus (4.93x) 4wave_wl_co
16384 247.37 1165.61 opus (4.71x) 4wave_wl_co

N=3072, K=1536 — triton→DEFAULT.json

M opus us triton us chosen opus family
1 4.68 7.52 opus (1.61x) 4wave_wl_co
2 4.71 8.36 opus (1.78x) 4wave_wl_co
4 4.77 8.40 opus (1.76x) 4wave_wl_co
8 4.83 8.42 opus (1.74x) 4wave_wl_co
16 4.86 8.36 opus (1.72x) 4wave_wl_co
32 4.92 6.31 opus (1.28x) 4wave_wl_co
48 4.97 8.38 opus (1.69x) 4wave_wl_co
64 4.99 8.76 opus (1.75x) 4wave_wl_co
80 5.08 8.77 opus (1.73x) 4wave_wl_co
96 5.08 8.90 opus (1.75x) 4wave_wl_co
112 5.39 8.71 opus (1.62x) 4wave_wl_co
128 5.42 9.00 opus (1.66x) 4wave_wl_co
256 6.42 9.31 opus (1.45x) 4wave_wl_co
512 7.95 14.41 opus (1.81x) 4wave_wl_co
1024 9.42 29.09 opus (3.09x) 4wave_wl_co
2048 13.14 56.04 opus (4.26x) 4wave_wl_co
4096 26.84 112.43 opus (4.19x) 4wave_wl_co
8192 48.80 222.26 opus (4.55x) 4wave_wl_co
16384 92.90 451.78 opus (4.86x) 4wave_wl_co

N=7168, K=2048 — triton→DEFAULT.json

M opus us triton us chosen opus family
1 5.69 9.44 opus (1.66x) 4wave_wl_co
2 5.72 9.59 opus (1.68x) 4wave_wl_co
4 5.75 9.55 opus (1.66x) 4wave_wl_co
8 5.83 9.64 opus (1.65x) 4wave_wl_co
16 5.91 9.73 opus (1.65x) 4wave_wl_co
32 5.99 9.06 opus (1.51x) 4wave_wl_co
48 6.34 10.24 opus (1.62x) 4wave_wl_co
64 6.41 10.33 opus (1.61x) 4wave_wl_co
80 8.08 13.09 opus (1.62x) 4wave_wl_co
96 7.98 13.45 opus (1.69x) 4wave_wl_co
112 7.74 15.04 opus (1.94x) 4wave_wl_co
128 8.21 14.32 opus (1.74x) 4wave_wl_co
256 10.09 21.02 opus (2.08x) 4wave_wl_co
512 12.28 42.34 opus (3.45x) 4wave_wl_co
1024 17.39 84.77 opus (4.88x) 4wave_wl_co
2048 35.05 168.23 opus (4.80x) 4wave_wl_co
4096 68.34 331.85 opus (4.86x) 4wave_wl_co
8192 121.74 655.52 opus (5.38x) 4wave_wl_co
16384 232.12 1331.68 opus (5.74x) 4wave_wl_co

N=16160, K=7168 — triton→DEFAULT.json

M opus us triton us chosen opus family
1 16.58 33.24 opus (2.01x) 4wave_wl_co
2 16.98 32.46 opus (1.91x) 4wave_wl_co
4 17.33 32.37 opus (1.87x) 4wave_wl_co
8 16.60 32.53 opus (1.96x) 4wave_wl_co
16 16.94 32.19 opus (1.90x) 4wave_wl_co
32 18.56 32.82 opus (1.77x) 4wave_wl_co
48 18.25 45.53 opus (2.50x) 4wave_wl_co
64 21.53 45.97 opus (2.14x) 4wave_wl_co
80 28.18 63.80 opus (2.26x) 4wave_wl_co
96 28.18 65.16 opus (2.31x) 4wave_wl_co
112 28.96 84.62 opus (2.92x) 4wave_wl_co
128 29.19 85.01 opus (2.91x) 4wave_wl_co
256 38.94 162.46 opus (4.17x) 4wave_wl_co
512 58.69 313.96 opus (5.35x) 4wave_wl_co
1024 118.45 616.32 opus (5.20x) 4wave_wl_co
2048 212.57 1224.54 opus (5.76x) 4wave_wl_co
4096 440.50 2432.10 opus (5.52x) 4wave_wl_co
8192 1111.91 4819.33 opus (4.33x) 4wave_wl_co
16384 2535.85 9492.73 opus (3.74x) 4wave_wl_co

N=129280, K=7168 — triton→DEFAULT.json

M opus us triton us chosen opus family
1 118.73 132.31 opus (1.11x) splitk_ws
2 119.97 131.70 opus (1.10x) splitk_ws
4 106.09 158.76 opus (1.50x) 4wave_wl_co
8 107.60 160.08 opus (1.49x) 4wave_wl_co
16 108.41 163.60 opus (1.51x) 4wave_wl_co
32 110.39 172.32 opus (1.56x) 4wave_wl_co
48 114.51 327.54 opus (2.86x) 4wave_wl_co
64 120.89 327.82 opus (2.71x) 4wave_wl_co
80 128.53 462.47 opus (3.60x) 4wave_wl_co
96 132.15 471.58 opus (3.57x) 4wave_wl_co
112 140.69 566.29 opus (4.03x) 4wave_wl_co
128 141.48 562.15 opus (3.97x) 4wave_wl_co
256 226.28 1135.49 opus (5.02x) 4wave_wl_co
512 436.45 1825.58 opus (4.18x) 4wave_wl_co
1024 1159.56 3336.70 opus (2.88x) 4wave_wl_co
2048 2457.51 9534.83 opus (3.88x) 4wave_wl_co
4096 4731.01 19116.20 opus (4.04x) 4wave_wl_co
8192 9353.08 38387.68 opus (4.10x) 4wave_wl_co
16384 19801.96 — opus (triton failed) 4wave_wl_co

The split-K reduce launches as dim3(ceil(N, VEC*BLOCK), M, 1) and grid.y is
capped at 65535 on this part. Past that it does not fail, it writes garbage:
at M=65536 the output is NaN, and M >= 65537 stops launching at all with
"invalid configuration argument". The cliff is exactly 2^16 -- M=65535 is
clean, and the same shape on a .co kid, which has no reduce, is exact.

Three places, since the shape can arrive by three routes:

  * candidate selection rejects the two _ws families above 65535, so tuning
    never proposes one. It used to: tuning these shapes took the container
    down with it, which is how this was found.
  * the heuristic refuses M > 65535 outright, alongside the existing >4 GiB
    guard. Every kid it can return is split-K, so there is nothing to fall
    back to -- the message says to tune the shape instead, which lands on a
    .co kid.
  * the generated launcher checks before the reduce, for a tuned CSV or an
    explicit kernelId that predates any of this.

Scoped to gfx1250. gfx942 and gfx950 launch the same reduce with batch * M
on grid.y and have the same ceiling; they are untouched here.

The four shapes that prompted this (M=65536, N=64/384/1024/2048, K=7168) now
tune in 56s where they used to hang the box, all four to 4wave_wl_co with
err_ratio 0.0, and verify against an fp32 reference at 1-2 absolute -- the
bf16 output quantisation itself, with no element outside tolerance.

Co-authored-by: Cursor <[email protected]>
@demonsan
demonsan requested a review from a team September 1, 2026 01:20
@github-actions

github-actions Bot commented Sep 1, 2026

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; main branch always runs both MI35X and MI300X
multigpu 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: GPT-OSS-120B, DeepSeek-R1-0528, Kimi-K2.5
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 5162 --add-label <label>

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 opt this PR out.

@github-actions github-actions Bot added the OPUS label Sep 1, 2026
@zufayu
zufayu requested a review from yifehuan September 1, 2026 05:21
The preceding commit makes opus refuse split-K where its reduce cannot
address the whole grid, so M=65536 now fails loudly instead of returning
wrong results -- but heuristic dispatch was the only thing serving those
shapes. Give them tuned rows instead.

dsv4 gains 9 shapes that had no bf16 tuned row at all:
65536x{64,384,1024,2048}x7168 plus M=1..128 of Nx32320x7168. Opus wins 5
of them, triton 4. dsv3 retunes all 114 gfx1250 rows now that the .co kid
families are available, moving 113 from triton to opus.

Co-authored-by: Cursor <[email protected]>
@demonsan
demonsan requested a review from JiaoliangYu September 2, 2026 03:11
JiaoliangYu
JiaoliangYu previously approved these changes Sep 2, 2026

@JiaoliangYu JiaoliangYu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

junhaha666
junhaha666 previously approved these changes Sep 2, 2026
The bf16 partial was landed as the default for the two gfx1250 _ws families
(cluster_tdm/clusterlaunch_tdm) because it cleared the tuner's 5e-2 gate at
half the workspace. It clears the gate, but it is not exact: every split-K
row tuned that way carried err_ratio 0.008-0.017, the bf16 accumulation of
the partials showing through. fp32 partials take that to 0.0.

Restore fp32 as the family default -- which is just the dataclass default,
so this is a deletion: the loop that forced the two tags to bf16 and the
candidate filter (_drop_fp32_ws_kids, OPUS_TUNE_FP32_WS) that existed only
because fp32 kids were the exception both go. Everything else keys off
splitk_workspace_dtype and follows: the workspace sizes at 4 bytes, the
launcher's element_size check, the reduce's read width. gfx942/950 _sk
families are a different tag and keep their per-name dtypes (5 fp32, 3 bf16)
untouched; fp32 is also their original default, so no static_assert moves.

Re-tuned the 66 split-K rows this touches, opus vs triton in one session:

 * dsv3 (35 rows): all stay opus, 1.008x geomean cost. The tuner buys back
   most of fp32's per-shape ~13% by re-picking split_k / tile, and one shape
   (4096x256x7168) moves to a .co kid and gets faster.
 * dsv4 (31 rows): 9 stay opus, 22 flip to triton -- fp32 slows opus just
   enough to lose the shapes triton has a real tuned config for, which is
   the same (N,K) split seen when these were first tuned.

err_ratio for every gfx1250 split-K row in both files is now 0.0. All 39
surviving opus split-K rows verified through dispatch: correct workspace
width, 1.7e-3..3.2e-3 vs fp32 reference, no launcher complaint.

kimik3's 111 split-K rows are not re-tuned here and now run the fp32 kids
they reference; verified 0/111 errors through dispatch. They are correct but
tuned for the old bf16 split_k, so a re-tune is left as follow-up.

Co-authored-by: Cursor <[email protected]>
@demonsan
demonsan dismissed stale reviews from junhaha666 and JiaoliangYu via 2a79c50 September 4, 2026 10:48
binglue.lyu and others added 2 commits September 4, 2026 11:17
…imit

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

# Conflicts:
#	aiter/configs/model_configs/dsv4_bf16_tuned_gemm.csv
@junhaha666
junhaha666 merged commit 109e49a into main Sep 9, 2026
56 of 57 checks passed
@junhaha666
junhaha666 deleted the blyu/gfx1250_splitk_limit branch September 9, 2026 09:16
Fyzyukk added a commit to Fyzyukk/aiter that referenced this pull request Sep 9, 2026
Keep the exact-kid registry and caller-owned workspace interface while
integrating PR ROCm#5162's FP32 partials and reducer row limit. Enforce max_m
in policy, launch planning, tuning, and generated gfx1250 launchers;
retain direct CO dispatch for large-M configurations.

Add focused host and target-device regressions for the gfx1250 workspace
contract and update source provenance for the shared OPUS dtype headers.
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