Verba/Rapida

Esperimenti #173e

The drafter's verify follows the best's top-k schedule (a defect in our own engine, found by Codex on row...

done

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

Cosa è stato provato

The 's verify follows the best's top-k schedule (a defect in our own engine, found by on row 173's job): a multi-token forward after the 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 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 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

Modello e configurazione

the drafter

Guadagno atteso

+10% at k = 3 on the sizing if the saving is 2.9 ms (inferred)

Da dove viene l'idea

Codex on row 173, coordinator 2026-11-19 (approved, ahead of 173)

Esito

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

Lezione

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.

Adottato

yes (Lesto main ec6c014b v0.23.0, tag best-2026-11-20-r173e, ledger row lesto_r173e)

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