Skip to content

decode: a 6-row padding rung on gfx1151 (27B C5 +10%, C6 +9%) - #299

Merged
AzeezIsh merged 1 commit into
mainfrom
perf/rung6
Oct 31, 2026
Merged

AzeezIsh merged 1 commit into
mainfrom
perf/rung6

Conversation

@AzeezIsh

Copy link
Copy Markdown
Contributor

DECODE_BATCH_RUNGS padded a 5..8-row batched decode step to 8. On gfx1151 the batched decode GEMVs are compute-bound at these widths, so C5/C6 paid for 8 rows to emit 5/6 tokens. Strix s166/s168: 27B AR C6 26.6 tok/s ≈ 6/8 of C8's 34.1. Under cfg(atlas_hip) the rung list gains a 6; the NVIDIA list is unchanged.

A/B (strix s170, main-292 170c3ed vs c94b614, 27B NVFP4, AR, Gufo protocol, 2 interleaved rounds):

C4 C5 C6 C8
main 27.2 / 26.5 23.0 / 22.3 26.8 / 26.2 32.9 / 32.4
this 26.4 / 26.4 24.8 / 25.0 28.9 / 28.8 32.6 / 33.0
  • C4 doesn't touch the new rung (it still pads to 4); the −0.4 is round-to-round noise.
  • Solo replies identical across builds: 8/8.
  • Solo-vs-C8 identity 5/8 on both; 0 faults.
  • Dispatch only: no kernel or numerics change. The batch8 GEMV tiers take m ≤ 8 through their row guards.

🤖 Generated with Claude Code

@AzeezIsh

Copy link
Copy Markdown
Contributor Author

Flash-Next on framework (f153, main-292 vs c94b614, lane on, AR, ×2): C4 30.9/30.9 → 30.8/30.6; C5 26.9/27.0 → 29.4/29.4 (+9%); C6 30.3/30.2 → 33.0/32.9 (+9%); C8 34.1/34.2 → 34.3/34.1. Solo text identical 8/8; identity 5/8 both; 0 faults. CI green, DevLab 41233032616 green. Merging.

@AzeezIsh
AzeezIsh merged commit 0588958 into main Oct 31, 2026
25 of 26 checks passed
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.

1 participant