Experiments #149
Decode profile of the best `lesto_r147s` at 1k and 8k: step trace and GPU busy against wall per token...
done
What was tested
The writing phase: the model produces the reply one token at a time. Read more profile of the best `lesto_r147s` at 1k and 8k: step trace and A graphics card, used here as the chip that does the heavy arithmetic for a model. busy against wall per The unit of text a model reads and writes: roughly a short word or a piece of a longer one. (Metal trace), then per-kernel GPU time per decode step with one primitive per command buffer and the dispatch trace (LESTO `The numbered revision of the quality-check procedure; results are only comparable within one version./147` 947afec); rows queued against the 0.58 ms a step left to 100 How many tokens the model writes each second once it has started.
Model and setup
the best
Expected gain
sizes every next engine row (5.5 tok/s to the target)
Where the idea came from
none
Outcome
done 2026-11-12: GPU-bound (99.3% to 99.8% busy, host build hidden); 103.0 tok/s at 1k, 94.9 at 8k, so the gap to 100 is the 0.83 ms a step 8k adds; per-kernel split by position SUSPICIOUS, row 149v; row 149g sizes the context cost (`2026-11-12-mac-decode-profile-r147`)
Lesson
the best's decode step is GPU-bound (99.3% to 99.8% busy, the 0.66 ms host build hidden), it already decodes 103 tok/s at 1k, and the whole gap to 100 at the sessions' lengths is the 0.83 ms a step that 8k adds; a per-kernel split by command-buffer position did not hold (global The step where each token looks back at the earlier tokens to decide what matters. Read more reads less at 8k than at 1k), so per-kernel attribution needs labelled buffers before it can rank anything.
Adopted
no (a diagnostic)