Experiments #149h
Length-dependent block count for the global layers' 2-pass attention: 32 blocks below about 2k tokens of...
superseded
What was tested
Length-dependent block count for the global layers' 2-pass The step where each token looks back at the earlier tokens to decide what matters. Read more: 32 blocks below about 2k The unit of text a model reads and writes: roughly a short word or a piece of a longer one. of cache, MLX's 64 above (row 149g: 32 is +0.88% at 1k on 10 of 10 The text you send to the model before it starts answering. and -1.91% at 8k); a Lesto change to the vendored MLX block choice (`scaled_dot_product_attention.cpp:596-601`); rounding-class (partials' sum order), so the Mac quality The unmodified model or build that every variant is compared against. before a race
Model and setup
the best
Expected gain
about +0.9% The writing phase: the model produces the reply one token at a time. Read more on prompts near 1k, nothing at the sessions' The middle value when results are sorted: half the requests were faster, half slower. 6.3k (inferred)
Where the idea came from
row 149g
Outcome
superseded 2026-11-13 by row 156: the M4 Pro is A graphics card, used here as the chip that does the heavy arithmetic for a model. class `s` (row 149v's kernel names end in 64 blocks for the sliding layers and 128 for the global layers), so row 149g's 32 arm moved both kinds of layer and this row's premise does not hold (`2026-11-13-mac-engine-audit/README.md` F2)