Verba/Rapida

Experiments #13

Mac decode profile of the two baselines (mlx-serve `--no-pld`, vllm-mlx PATCHED): where a decode step's...

run

What was tested

Mac profile of the two (mlx-serve `--no-pld`, vllm-mlx PATCHED): where a decode step's time goes on the M4 Pro (4-bit expert and 8-bit reads against small ops, Metal capture or MLX timing), and whether Gemma 4's decode path uses MLX's fused ops (`mx.fast.rms_norm`, `mx.fast.rope`) and `mx.compile`; the Mac counterpart of rows 35 and 51 (fused kernels), it decides whether custom fusion, a Four Over Six-style 4-bit scale choice or a 4-bit head is the next Mac lever

Model and setup

gemma-4-26b-a4b OptiQ-4bit

Expected gain

ranks the Mac code levers

Where the idea came from

GPU rows 35, 51

Outcome

run 1 done 2026-10-28: 20.8 ms per step at 1k (48.1 ), 3.44 GB of weights per step, ceiling about 79 tok/s at 273 GB/s; component split invalid (stacked wrappers), run 2 chained after row 17 | no

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