Verba/Rapida

Experiments #38

Two combined variants (head, experts and MLP at 4-bit; head and experts at 4-bit): KL first, then a...

done

What was tested

Two combined variants (head, experts and MLP at 4-bit; head and experts at 4-bit): first, then a 50-session speed pair on mlx-serve of the one saving the most bytes that passes the

Model and setup

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

Expected gain

+10% to +30% (**code read**, by bytes)

Where the idea came from

row 37

Outcome

done 2026-10-29: head, experts and MLP at 4-bit: KL 0.1795 (passes by 0.003), +19.4% decode (interval +19.2 to +19.6), 53.2 to 63.5 , reply -11.8%; head and experts only: KL 0.102 (`docs/experiments/2026-10-29-mac-bytes-per-step/`)

Lesson

moving OptiQ's LM head, its 6 layers' experts and the dense MLP to 4-bit lifts Mac decode +19.4% (53 to 63.5 tok/s) at KL 0.180, just inside the guardrail; per-group KL costs add, so the map can be planned from single-group probes.

Adopted

no (pending its flipped replication and a meaning read, row 38r)

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