Verba/Rapida

Experiments #173kr

Row 173a's replay ms a token times t(k) exceeds the served round by 0.76 ms at k = 3 and 2.47 ms at k = 4...

done

What was tested

Row 173a's replay ms a times t(k) exceeds the round by 0.76 ms at k = 3 and 2.47 ms at k = 4 (row 173k step 1: the rounds equal V(k) + (k - 1) D within 0.1 ms on bench 8k). Read where the replay's per-token figure carries the extra: per-request work spread over tokens, non-drafter rounds, the sessions' context lengths, or row 173e's pre-stk3 build; the build's `[r173g]` round walls on the 50-session replay at k = 3 and 4 beside the rows' figure

Model and setup

the

Expected gain

covers k = 3, the served : up to about 3% (the 0.76 ms over a 23.8 ms round, inferred) if the window's rest is served cost outside the rounds; k = 4 read beside it

Where the idea came from

`2026-11-20-mac-r173k-k4-round-split/README.md` § Step 1 result

Outcome

done 2026-11-20 02:18: at k = 3 the window's rest over the later rounds is 698 us a round (2.7%), but 4.18 of its 5.68 s is the request's first drafter round, inside the window; outside every round a request spends 10.0 ms (0.7%), and the first round runs 2.8 ms long (0.2%); the rest of row 173a's 0.76 ms is the conversion (mean against rounds); row 173ks queued on the 10 ms (`2026-11-20-mac-r173kr-replay-round-split/README.md` § Result)

Lesson

a streamed request's decode window holds its first drafter round, and the replay's ms a token divides by tokens while its rounds are read at the median; at k = 3 only about 0.9% of the window is served time outside the round model (10 ms a request after the last round, 2.8 ms in the first), so sizing from ms a token times t overstates per-round cost by about 0.5 ms, mostly through mean against median rounds.

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