Verba/Rapida

Experiments #68

What read rate the fused affine-4 expert kernels reach against the 259 GB/s ceiling at the best's shapes...

done

What was tested

What read rate the fused affine-4 expert kernels reach against the 259 GB/s ceiling at the best's shapes (Lily reports 90% of peak for its GEMV); patch only if well below

Model and setup

the best

Expected gain

sizes a kernel lever (diagnostic)

Where the idea came from

rows 49, 59, sweep 2026-10-30

Outcome

done 2026-10-30: kernels at 92% of 259 GB/s (experts 86%, dense MLP 80%); at most about 0.6 ms from kernel rewrites, not queued; lossless ceiling about 90 at 8k

Lesson

the best's weight kernels read at 92% of the M4 Pro's 259 GB/s when independent (experts 86%, dense MLP 80%), so kernel rewrites can at most about 0.6 ms per step; benchmark kernels with every layer's own tensors in one eval, since one layer's tensors repeated read from cache at up to 19 times the ceiling.

Adopted

no (a diagnostic)

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