Verba/Rapida

Experiments #36

mlx-serve on the plain 4-bit checkpoint (`gemma-4-26b-a4b-it-4bit-mlx`, 14 GB: dense, attention and head at...

done

What was tested

mlx-serve on the plain 4-bit (`gemma-4-26b-a4b-it-4bit-mlx`, 14 GB: dense, and head at 4-bit, routers 8-bit) instead of OptiQ (18 GB), the 1-user engine otherwise unchanged: the bytes-per-step lever, since a non-drafting OptiQ step caps near 79 (row 13's 3.44 GB at 273 GB/s) and drafting lost (rows 5, 32b). Lossy: speed on the Mac, quality check before adoption

Model and setup

gemma-4-26b-a4b 4-bit

Expected gain

+12% to +25% (**code read**)

Where the idea came from

rows 13, 32b

Outcome

done 2026-10-29: +36.9% decode (interval +36.6 to +37.1), reply -17.8%, but this checkpoint's is 0.309 against the 0.183 (OptiQ 0.071): fails quality, not adopted; bytes per step is the lever (`docs/experiments/2026-10-29-mac-d512-attention/`)

Lesson

on the Mac, bytes per step is the lever (+37% decode for a third fewer bytes), but all of OptiQ's 8-bit parts at 4-bit break quality (KL 0.31); the next step is per-part: which 8-bit parts fit inside OptiQ's 0.11 KL headroom.

Adopted

no (fails the quality guardrail, KL 0.309 against 0.183)

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