Verba/Rapida

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 : 32 blocks below about 2k of cache, MLX's 64 above (row 149g: 32 is +0.88% at 1k on 10 of 10 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 before a race

Model and setup

the best

Expected gain

about +0.9% on prompts near 1k, nothing at the sessions' 6.3k (inferred)

Where the idea came from

row 149g

Outcome

superseded 2026-11-13 by row 156: the M4 Pro is 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)

Want to see what these experiments produced? Lesto, the Gemma 4 inference engine for Apple silicon Macs, is on lestoengine.com

Made by Federico Andrioli, @fedeandri on X A research lab's own measurements, generated from its files. Data built