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 Time to first token: how long you wait before the first word of the reply appears. 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; The numbered revision of the quality-check procedure; results are only comparable within one version. 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, How long the whole answer takes, from sending the request to its last word. per turn primary
Model and setup
gemma-4-26b-a4b OptiQ-4bit
Expected gain
The writing phase: the model produces the reply one token at a time. Read more +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