Verba/Rapida

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

profile of the best `lesto_r147s` at 1k and 8k: step trace and busy against wall per (Metal trace), then per-kernel GPU time per decode step with one primitive per command buffer and the dispatch trace (LESTO `/147` 947afec); rows queued against the 0.58 ms a step left to 100

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 reads less at 8k than at 1k), so per-kernel attribution needs labelled buffers before it can rank anything.

Adopted

no (a diagnostic)

Want to see what these experiments produced? Lesto, the Gemma 4 inference engine for Apple silicon Macs, is on lestoengine.com

Made by Federico Andrioli, @fedeandri on X A research lab's own measurements, generated from its files. Data built