Repository navigation
docs: where Flash-Next prefill's 287 tok/s goes, and the ubatch cap that is not it (#572) - #616
Merged
Merged
Conversation
bong-water-water-bong
enabled auto-merge (squash)
October 27, 2026 08:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #572 (measurement half; issue stays open for the two levers).
Adds a section to
docs/hrx.mdwith the dispatch-level profile of Flash-Next prefill and the shipped ubatch bounds.Measurements
-ub 576269.34 tok/s, rc 0 — the old-ub > 512refusal is goneInstrument:
llama-benchtiming +iree-profilebundles, engine0d0c846, llama.cpp8ee20a0, 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_Ysweep 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.