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 A saved copy of a model's weights at some point in training. (`gemma-4-26b-a4b-it-4bit-mlx`, 14 GB: dense, The step where each token looks back at the earlier tokens to decide what matters. Read more and head at 4-bit, routers 8-bit) instead of OptiQ (18 GB), the 1-user The unmodified setup's score, the line every experiment must beat. engine otherwise unchanged: the bytes-per-step lever, since a non-drafting OptiQ step caps near 79 How many tokens the model writes each second once it has started. (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% The writing phase: the model produces the reply one token at a time. Read more (**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 A number measuring how different two probability distributions are; 0 means identical. is 0.309 against the 0.183 A quality check run alongside a speed test, so that a faster model cannot win by quietly getting worse. (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)