Verba/Rapida

Experiments #159t

Where row 159s's decode cost comes from: a step trace (`MLX_SERVE_STEP_TRACE`) of the first 8 reply steps...

done

What was tested

Where row 159s's cost comes from: a step trace (`MLX_SERVE_STEP_TRACE`) of the first 8 reply steps and the steady steps on `lesto_r147s` and `lesto_r159s`, a few sessions, both orders; the inferred mechanism is part of the removed prompt-tail forward's cost reappearing in the first decode steps (about 1.6 ms a turn, -0.10% decode on `mac/159s/2`, the same on every turn)

Model and setup

the best

Expected gain

none (diagnostic: names the step that slows, so a fix can reopen the 159s stack's -0.4% reply gain without the decode loss)

Where the idea came from

row 159s replication (`2026-11-13-mac-engine-audit/README.md` § Replication, row 159s)

Outcome

done 2026-11-14 00:23: the first decode step is +0.34 ms [0.29, 0.57] slower, no later step moves within 0.009 ms a ; about a third of the replication's 1.6 ms a turn; the rest open as row 159u (`2026-11-13-mac-engine-audit/README.md` § Result, row 159t)

Lesson

chunk arrival times locate a per-step cost to a tenth of a millisecond in 10 sessions: removing the 's separate last-token forward costs the first decode step 0.34 ms and nothing after it within 0.009 ms a token, so most of the replication's -0.10% decode is either a smaller steady cost or around it.

Adopted

no (a diagnostic)

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