Verba/Rapida

Experiments #18

vllm-mlx reuse on real coaching sessions (row 12: +192% reply against mlx-serve, warm TTFT 8.7 s against...

done

What was tested

vllm-mlx reuse on real coaching sessions (row 12: +192% reply against mlx-serve, 8.7 s against 0.5 s): production requests diverge before the previous 's end (turn 2 at the system-prompt end, 12 back; turn 3 inside the system prompt, up to 799 back), and the 839 patch only 4 tokens from the end. Extend the patch: a checkpoint at each message boundary, plus a ladder for divergence inside a message (or sliding-window layers kept with slack so they can be trimmed). First step, timing-free: replay row 12 turns with the extended patch and count `cached=` tokens per turn

Model and setup

gemma-4-26b-a4b

Expected gain

warm TTFT near mlx-serve's; decides whether vllm-mlx can be the 4-user engine on the real workload

Where the idea came from

row 12, `docs/experiments/2026-10-28-mac-four-users/README.md` ยง Row 12 result

Outcome

done 2026-10-28: patch part 3 (rollback slack) makes warm turns reuse (TTFT 0.39 s against 8.70 s); reply +5.1% [+2.7, +6.1] against mlx-serve at 1 user, so mlx-serve stays the 1-user | 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