Experiments #148i
Why the constrained split step (row 148h) is 1.5% to 2.4% faster than the best's own pipelined step on...
done
What was tested
Why the Forcing the model's output to follow a strict JSON shape while it writes. split step (row 148h) is 1.5% to 2.4% faster than the best's own pipelined step on identical replies: the best's `next()` evaluates the sampled The unit of text a model reads and writes: roughly a short word or a piece of a longer one. and the next forward's head-tail target in one `async_eval` and waits on the previous token (`generate.zig` :5434-5476 at `The numbered revision of the quality-check procedure; results are only comparable within one version./148g`), the split step evaluates the draw alone and then the forward; both step paths' phases on one build (`MLX_SERVE_STEP_TRACE=1` on the best beside the `[p148g]` trace of the split arm) over more sessions, then a lossless change to the best's step if the gap is its evaluation order
Model and setup
the best
Expected gain
up to +1.5% The writing phase: the model produces the reply one token at a time. Read more (**guess**: the identical-reply gap)
Where the idea came from
row 148h
Outcome
done 2026-11-13: the 1.5% identical-reply gain was a first-token shift (Time to first token: how long you wait before the first word of the reply appears. +12.1 ms, one step; How long the whole answer takes, from sending the request to its last word. -0.21%; traced steps 10.534 against 10.559 ms), so no step change follows (`2026-11-12-mac-constrained-step/README.md` ยง Result, row 148i)
Lesson
on identical replies, a decode-rate gap of about one step over the reply length is a first-token timing shift, not a faster step: check TTFT and total reply time beside decode How many tokens the model writes each second once it has started. before reading a per-token gain into it.
Adopted
no (a diagnostic; no change to the best's step follows)