Verba/Rapida

Experiments #130f

Where the rest of row 130d's cold first token loss goes: the pause (row 130e) gave back 0.13% of 0.4% to...

done

What was tested

Where the rest of row 130d's first loss goes: the pause (row 130e) gave back 0.13% of 0.4% to 0.8%; clock and power through the cold (macmon) and the cold first token for the best with `MLX_SERVE_KEEP_WARM_OFF=1`, the best, and `lesto_r130e`, timing-free

Model and setup

the best

Expected gain

0.3% to 0.7% of the cold first token (rows 130d, 130e)

Where the idea came from

row 130e

Outcome

done 2026-11-12: the spin lowers the GPU clock through a cold prefill (1,552 against 1,576 MHz) and costs +0.41% [+0.13, +0.67] on cold 8k first turns; the pause restores it (+0.00% against no thread); row 130e stays a stack candidate (`2026-11-11-mac-pcore-clock`)

Lesson

the keep-warm spin slows a cold first token by lowering the GPU clock during the prefill (1,552 against 1,576 MHz, +0.41% on 8k turns), and pausing it during long prefills restores the clock (1,569 MHz) and the first token (+0.00% against no thread); row 130e is the fix, though on the sessions it showed only 0.13%.

Adopted

no (a diagnostic; row 130e remains a stack candidate)

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