Verba/Rapida

Esperimenti #149

Decode profile of the best `lesto_r147s` at 1k and 8k: step trace and GPU busy against wall per token...

done

Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.

Cosa è stato provato

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

Modello e configurazione

the best

Guadagno atteso

sizes every next engine row (5.5 tok/s to the target)

Da dove viene l'idea

none

Esito

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`)

Lezione

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.

Adottato

no (a diagnostic)

Vuoi vedere cosa hanno prodotto questi esperimenti? Lesto, il motore di inferenza per Gemma 4 sui Mac con Apple silicon, è su lestoengine.com

Creato da Federico Andrioli, @fedeandri su X Le misure di un laboratorio di ricerca, ricavate direttamente dai suoi file. Dati aggiornati al