Verba/Rapida

Experiments #39

Where the dense MLP's KL cost sits: emb4+exp4 plus the MLP at 4-bit in one block of 5 layers at a time (6...

done

What was tested

Where the dense MLP's cost sits: emb4+exp4 plus the MLP at 4-bit in one block of 5 layers at a time (6 variants), to keep most of row 38's bytes with a wider margin than 0.003

Model and setup

gemma-4-26b-a4b mixed 4/8

Expected gain

a wider quality margin at similar speed (**code read**)

Where the idea came from

row 38r

Outcome

done 2026-10-29: MLP KL per 5-layer block +0.006, +0.004, +0.015, **+0.029 (layers 15-19)**, -0.004, +0.014 (`docs/experiments/2026-10-29-mac-bytes-per-step/`)

Lesson

the dense MLP's KL cost is uneven across depth: layers 15 to 19 cost +0.029 of the MLP's +0.077, so keeping that one block at 8-bit buys most of the margin back for a sixth of the bytes.

Adopted

no (a quality map; row 40 builds and pairs the variant it suggests)

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