Experiments #105b
Why the raised byte limit adds 0.05 s to warm first tokens (row 105a), and a fix: for example the raised...
done
What was tested
Why the raised byte limit adds 0.05 s to Cold means the server has never seen this prompt start; warm means part of it is already remembered from before. first The unit of text a model reads and writes: roughly a short word or a piece of a longer one. (row 105a), and a fix: for example the raised limit only during The writing phase: the model produces the reply one token at a time. Read more (one-token steps) and the default during Prefill: the model reading the whole prompt before it can write the first token. Read more and the first step of a reused prefix, or an earlier first commit; then the pair again on How long the whole answer takes, from sending the request to its last word.
Model and setup
the best
Expected gain
reply time -1 to -2% (inferred: keep +2.3% decode without the Time to first token: how long you wait before the first word of the reply appears. loss)
Where the idea came from
row 105a
Outcome
done 2026-11-02: mechanism found by the command-buffer The numbered revision of the quality-check procedure; results are only comparable within one version. (LESTO `probe/105b` `5a44971`, 3 runs): the Mixture of experts: a model made of many specialist sub-networks where only a few run per token. Read more prefill eval cadence (a blocking eval every 4 layers for forwards of 32+ tokens, `src/transformer.zig:27665`) drains the A graphics card, used here as the chip that does the heavy arithmetic for a model. 8 times per warm turn, and at 100000 MB each restart waits for a 51-op buffer; reproduced only when warm turns follow 200-token decodes (+0.027 s The middle value when results are sorted: half the requests were faster, half slower., row 105a +0.043 s). Fix: row 105c
Lesson
a warm turn's short prefill pays for the engine's memory-bounding eval cadence (a blocking eval every 4 layers, built for wide chunks), and a larger command buffer makes each drain's restart slower; the probe reproduced row 105a's loss only once warm turns followed real decodes, so a timing probe must copy the workload's turn shape, not just its The text you send to the model before it starts answering. sizes.