Verba/Rapida

Esperimenti #130g

The keep-warm pause on the 50 sessions against no keep-warm thread: `lesto_r130e` against `lesto_r130d`...

done

Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.

Cosa è stato provato

The keep-warm pause on the 50 sessions against no keep-warm thread: `lesto_r130e` against `lesto_r130d` with `MLX_SERVE_KEEP_WARM_OFF=1`, first and reply per turn, timing-free diagnostic; row 130f measured the pause level with no thread on cold 8k bench turns (+0.00%) while row 130e's pair showed only 0.13% back on the sessions

Modello e configurazione

the best

Guadagno atteso

settles whether the sessions' cold first token keeps a keep-warm cost after the pause

Da dove viene l'idea

row 130f

Esito

done 2026-11-27 (read-rows): no verdict, all four measures not established: K (thread off) against A, -0.07% [-0.15, +0.02], first token +0.44% [+0.19, +0.66], reply +0.19% [+0.02, +0.36], first-turn first token +0.25% [+0.02, +0.43], each below its drift floor (0.77% to 1.04%); 150 of 150 identical in all three compares. Mechanism from the code: under the the thread's only activity mark is the request's arrival (`src/server.zig:1773`; the decode mark is in the plain step, `src/generate.zig:6516`, which `nextDrafter` never takes), so it spins only the first 500 ms of each request; row 130h queued (`2026-11-27-mac-r130g-keep-warm-sessions/README.md` § Result); queued 2026-11-12 from row 130f

Lezione

- On the drafter best, the keep-warm thread spins only for the first 500 ms of each request. Its only activity marks are the request's arrival and the plain decode step, and drafter rounds never take the plain step. - So the decode gain row 130d adopted (+1.57% before the drafter) has not reached the drafter's decode: on the 50 sessions the thread is worth -0.07% [-0.15, +0.02] decode. Its first-token effect is within the drift floor. - When a lever works through an activity hook, check that the hook still fires on the best's current path (here the thread's 2,048-mark proof record never appeared) before measuring it.

Adottato

no (a diagnostic; all four measures not established; the thread stays as it is in the best until row 130i)

Vuoi vedere cosa hanno prodotto questi esperimenti? Lesto, il motore di inferenza per Gemma 4 sui Mac con Apple silicon, è su lestoengine.com

Creato da Federico Andrioli, @fedeandri su X Le misure di un laboratorio di ricerca, ricavate direttamente dai suoi file. Dati aggiornati al