Skip to content

docs: where Flash-Next prefill's 287 tok/s goes, and the ubatch cap that is not it (#572) - #616

Merged
bong-water-water-bong merged 5 commits into
mainfrom
pm/572
Oct 27, 2026
Merged

bong-water-water-bong merged 5 commits into
mainfrom
pm/572

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Part of #572 (measurement half; issue stays open for the two levers).

Adds a section to docs/hrx.md with the dispatch-level profile of Flash-Next prefill and the shipped ubatch bounds.

Measurements

  • pp512 286.63 ± 0.94 tok/s (r=3, samples 287.384 / 286.933 / 285.578)
  • pp4096 260.59 ± 4.51 tok/s
  • p1024 with -ub 576 269.34 tok/s, rc 0 — the old -ub > 512 refusal is gone
    Instrument: llama-bench timing + iree-profile bundles, engine 0d0c846, llama.cpp 8ee20a0, HRX0, -ngl 99 -fa 1, test_time 2026-10-27T02:38:52Z.

Finding

The m64 prefill expert GEMMs are a third of the pass and already tiled, so the ds4 ROCM_MMQ_Y sweep is not the lever — ds4 never appears in the bundle. The two real levers are decode-shaped code running on a prefill: hrx_dp_mm_q8_0_* at ~16% with a grid of 40/160 workgroups regardless of token count, and an f32 fallback at 8% of a 4.25 bpw model. Host overhead is 18–24%.

Raw dispatch tables: /home/bcloud/1bit-monster/572/dispatch-{pp512,pp4096}.txt.

@bong-water-water-bong
bong-water-water-bong enabled auto-merge (squash) October 27, 2026 08:46
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