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, Cold means the server has never seen this prompt start; warm means part of it is already remembered from before. Time to first token: how long you wait before the first word of the reply appears. 8.7 s against 0.5 s): production requests diverge before the previous The text you send to the model before it starts answering.'s end (turn 2 at the system-prompt end, 12 The unit of text a model reads and writes: roughly a short word or a piece of a longer one. back; turn 3 inside the system prompt, up to 799 back), and the 839 patch only A saved copy of a model's weights at some point in training. 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 The unmodified setup's score, the line every experiment must beat. | no