Verba/Rapida

Experiments #52

Re-profile of the new Mac best (row 51, PATCHED): decode at 1k, 8k and 16k context on the patched build...

done

What was tested

Re-profile of the new Mac best (row 51, PATCHED): at 1k, 8k and 16k context on the patched build, fitting step time against context as row 46 did, to see how much of the 5 ms non-byte step time remains

Model and setup

gemma-4-26b-a4b mixed 4/8 (the best)

Expected gain

sizes the next Mac rows (**measured**, diagnostic)

Where the idea came from

row 51

Outcome

done 2026-10-30: step = 14.45 ms + 0.113 ms per 1k (was 14.93 + 0.101); about 4.5 ms still not bytes; dense 4-bit single-row matmuls about 0.6 ms of it

Lesson

the GELU-tanh patch removed 0.48 ms of fixed step time, and the dense 4-bit single-row matmuls are the next kernel-side leak (about 0.6 ms) before the small ops (about 3 ms).

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