Experiments #7
KV-cache quantization (`--kv-bits`) and prompt-cache settings on the winning engine
blocked
What was tested
The memory where the model keeps what it has already read, so it does not recompute it for every new token. Read more Storing the model's numbers with fewer bits to make it smaller and faster, at some risk to quality. Read more (`--kv-bits`) and prompt-cache settings on the winning engine
Model and setup
gemma-4-26b-a4b 4-bit
Expected gain
not estimated
Where the idea came from
scoped 2026-10-28: vllm-mlx's `--kv-cache-quantization` quantizes only the stored The server remembers the processed start of earlier prompts so that a repeated start is not recomputed. Read more (`cli.py:1243-1259`: memory, not The writing phase: the model produces the reply one token at a time. Read more speed); live-KV quantization is mlx-lm's `--kv-bits` and mlx-serve's `--kv-quant`, lossy, so a quality check (`api_guardrail.py`) goes with any run; not queued yet
Outcome
blocked: after row 3