Esperimenti #108a
mlx-serve's prefix cache sized for the workload: `--prefix-cache-mem` raised from 2 GB (one 9.5k-token...
done
Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.
Cosa è stato provato
mlx-serve's The server remembers the processed start of earlier prompts so that a repeated start is not recomputed. Approfondisci sized for the workload: `--prefix-cache-mem` raised from 2 GB (one 9.5k-token session) to hold a block's scenarios, and the SSD tier (`--prefix-cache-disk`) tried; How long the whole answer takes, from sending the request to its last word. per turn primary (Time to first token: how long you wait before the first word of the reply appears. first), judged on meaning since reuse changes chunking; memory checked on the M4 and against the M3's 36 GB
Modello e configurazione
the best
Guadagno atteso
first-turn reply time -20 to -35% (inferred: reuse 13.9% to about 38.5% of first-turn Prefill: the model reading the whole prompt before it can write the first token. Approfondisci)
Da dove viene l'idea
row 108
Esito
done 2026-11-01: A valid experiment that did not beat the best score by more than the noise. at 12 GB, paired The middle value when results are sorted: half the requests were faster, half slower. reply -0.6% [-2.1, -0.3] under the 2.0% threshold; mean reply -13.6%, first turns -17.8%, Cold means the server has never seen this prompt start; warm means part of it is already remembered from before. first The unit of text a model reads and writes: roughly a short word or a piece of a longer one. -15.5% (`mac/108a/1`; the paired median cannot see a lever that helps a third of turns); SSD tier not tried
Lezione
a prefix-cache lever helps the turns that repeat a cached The text you send to the model before it starts answering. and leaves the others untouched, so it shows in the mean reply (-13.6%) and first turns (-17.8%) but not in the paired median per turn (-0.6%); size a row on the statistic the scorer computes (the median of paired per-turn changes), not on the change of the median.
Adottato
no (under the 2.0% threshold on the pre-registered paired median; the real mean gain is filed in `docs/_inbox/2026-11-01-mac-reply-metric-subset-levers.md`)