Experiments #173e
The drafter's verify follows the best's top-k schedule (a defect in our own engine, found by Codex on row...
done
What was tested
The The small guessing model used in speculative decoding. Read more's verify follows the best's top-k schedule (a defect in our own engine, found by An independent check of the work by a different AI model, to catch mistakes the main one might share with itself. on row 173's job): a multi-token forward after the The text you send to the model before it starts answering. routes at the current count and never advances it (LESTO row/173 `src/transformer.zig:8640-8645`), so every verify of a drafter reply runs at 8 experts, never 6; row 153s's Keeping a model loaded on a machine so it can answer requests over the network. log has 8,191 rounds and no switch line. The drafter sizing's O (3.49 ms a round) absorbed it. Step 1, timing: row 153v's k-row forward at 8 against 6 experts, paired, 20 sessions (`docs/experiments/2026-11-19-mac-r173e-verify-topk/`, pre-registered: k = 3 saving, expected +2.9 ms, line 1.35 ms). Step 2 the fix (each round's emitted The unit of text a model reads and writes: roughly a short word or a piece of a longer one. count into `decode_forwards`, a unit test that the switch fires in a drafter reply); step 3 row 173's profile on that build; step 4 a pair against stk2 with the anchored read against the best first
Model and setup
the drafter
Expected gain
+10% at k = 3 on the sizing if the saving is 2.9 ms (inferred)
Where the idea came from
Codex on row 173, coordinator 2026-11-19 (approved, ahead of 173)
Outcome
done 2026-11-20 00:18, adopted: the pair +9.0% [+7.7, +10.0] and its replication +9.4% [+8.4, +10.4] on lesto_r172 (`mac/173e/1`, `mac/173e/2`), read 173r passed; rebased on stk3 as LESTO row/173es 79ae5615, 150 of 150 replies identical to the read build (diag173ei); Lesto main ec6c014b v0.23.0, tag best-2026-11-20-r173e, ledger lesto_r173e 106.2 How many tokens the model writes each second once it has started.
Lesson
a defect that kept a multi-row verify at 8 experts while one-row steps ran at the scheduled 6 hid about 2.4 ms a round; fixed, the k = 3 drafter decodes +9.0% over the best and crosses 100 tok/s on the 50 sessions. Its gain falls with the turn (+14.5% to +5.2%) because acceptance does, so a drafter's sizing needs acceptance per turn, not pooled.
Adopted
yes (Lesto main ec6c014b v0.23.0, tag best-2026-11-20-r173e, ledger row lesto_r173e)