Esperimenti #106
First-token time on the best (Federico 2026-10-31: attack total completion time): on the 50 sessions a...
done
Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.
Cosa è stato provato
First-token time on the best (Federico 2026-10-31: attack total completion time): on the 50 sessions a first turn waits about 7.5 s for its first The unit of text a model reads and writes: roughly a short word or a piece of a longer one. (6 to 10k-token The text you send to the model before it starts answering. at about 830 How many tokens the model writes each second once it has started.) against about 1.8 s of The writing phase: the model produces the reply one token at a time. Approfondisci; account for Prefill: the model reading the whole prompt before it can write the first token. Approfondisci time by section (expert gather matmuls, The step where each token looks back at the earlier tokens to decide what matters. Approfondisci, chunking at 2048, host work between chunks) with probes and a trace as rows 82 and 88p did for decode, then The ranked list of experiments waiting to be run. the fixes
Modello e configurazione
the best
Guadagno atteso
first-turn How long the whole answer takes, from sending the request to its last word. (diagnostic)
Da dove viene l'idea
row 104
Esito
done 2026-10-31 (`2026-10-31-mac-engine-audit/README.md` § The numbered revision of the quality-check procedure; results are only comparable within one version., row 106, PATCHED): 8k first token 10.35 s = Mixture of experts: a model made of many specialist sub-networks where only a few run per token. Approfondisci 4.70 s (45%), attention projections 2.60 s (25%), dense MLP 1.22 s (12%), full hd-512 SDPA 1.11 s (11%, all of the 842 to 702 tok/s fall across the prompt), sliding SDPA 0.82 s (8%), rest 0.18 s; MoE runs at about 4.8 TFLOP/s against 7.0 for the dense matmuls; prices rows 109 to 111
Lezione
an 8k first token of the best (10.35 s) is 45% MoE experts, 25% attention projections, 12% dense MLP, 11% full hd-512 SDPA and 8% sliding SDPA, with 2% left for everything else; the MoE path is the only large part running well below the M4's sustained dense matmul rate (4.8 against 7.0 TFLOP/s), so row 109 (up to 1.45 s) is worth about seven times rows 110 or 111 (about 0.2 s each).
Adottato
no (diagnostic).