Verba/Rapida

Experiments #8

vllm-mlx as the Mac engine: it decodes +14% over mlx-lm (race and replication) but reuses nothing across...

step

What was tested

vllm-mlx as the Mac engine: it decodes +14% over mlx-lm (race and replication) but reuses nothing across turns (later-turn 11.8 s against 0.33 s), and it ran plain 4-bit, which fails the quality bar. Step 1, timing-free: diagnosed from source (`docs/experiments/2026-10-28-mac-prefix-reuse/README.md`): Gemma 4's thinking-off suffix is not repeated in the next turn's history and the wrapped sliding layers cannot be rewound, so vllm-mlx 0.6.0 cannot reuse (issue 839, open) and mlx-vlm's cache was off; of every engine on OptiQ queued after row 5. Step 2: load OptiQ-4bit in vllm-mlx. Step 3, only if 1 and 2 work: paired against mlx-lm OptiQ-4bit on all 50 sessions, per turn primary

Model and setup

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

Expected gain

+10 to +15% if reuse works (guess)

Where the idea came from

2026-10-28 race, `docs/experiments/2026-10-28-mac-engine-race/README.md`

Outcome

step 1 done 2026-10-28: cause confirmed, lab patch exact (`docs/experiments/2026-10-28-mac-prefix-reuse/README.md` ยง Probe result); OptiQ loads in vllm-mlx, mlxserve, omlx, not TensorFold; steps 2-3 are row 9 | 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