Verba/Rapida

Esperimenti #54

Metal System Trace of the patched best's decode step (`xctrace`)

done

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

Cosa è stato provato

Metal System Trace of the patched best's step (`xctrace`)

Modello e configurazione

the best

Guadagno atteso

busy share and dispatch gaps (**measured**)

Da dove viene l'idea

row 52

Esito

done 2026-10-30: GPU 97% busy, 82 encoders per step, gaps 1 to 4 us; no kernel names (MLX labels none)

Lezione

for the Gemma 4 target's (head dims 256 and 512, KV) on under 0.32 is slower than the Triton kernel: single-user replies 21% to 37% slower at 8k on both smoke , so the Triton path the best runs is not the attention bottleneck to replace.

Adottato

no (slower in the smoke; no pair)

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