Verba/Rapida

Experiments #92

hd-512 decode SDPA with simdgroup 8x8 matrix multiplies (each K and V element used for all 8 query heads of...

screen

What was tested

hd-512 SDPA with simdgroup 8x8 matrix multiplies (each K and V element used for all 8 query heads of a group in one load), for the full layers' fixed cost (66 against 21 us of bytes at 1k, 219 against 151 at 8k; row 89s)

Model and setup

the best

Expected gain

+2 to +4% decode (inferred, about 0.3 to 0.45 ms)

Where the idea came from

row 89s

Outcome

screen done 2026-10-31 (92s): +1.4% at 1k, +2.9% at 8k unpaired, rounding changes (13/20 and 6/20 identical), clean; anchored meaning read failed 2026-10-31 (anchor 6, r92 3, net 3 against the limit 2): not adopted; check queued as 92k

Adopted

no (the anchored read failed: net 3 of 40).

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