Verba/Rapida

Experiments #91

`MLX_SDPA_D512_MIN_KL=1` on the best: the 5 full-attention layers' decode below 1,024 keys moves from MLX's...

superseded

What was tested

`MLX_SDPA_D512_MIN_KL=1` on the best: the 5 full-attention layers' below 1,024 keys moves from MLX's unfused ops (max error 0.39 against fp32) to the fused vector kernel (0.0077), row 89s; timing-free first (replies against the best, or the anchored meaning read), then a pair if it is faster

Model and setup

the best

Expected gain

a precision fix for short contexts, speed about level (inferred)

Where the idea came from

row 89s

Outcome

superseded 2026-10-31 by row 92, whose kernel also covers hd 512 below 1,024 keys (max error 0.0077)

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