Verba/Rapida

Esperimenti #94

Bandwidth study of the one-token quantized matmuls at Gemma 4's real decode shapes on the best (peak read...

done

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

Cosa è stato provato

Bandwidth study of the one-token matmuls at Gemma 4's real shapes on the best (peak read bandwidth, GB/s per projection alone and chained, why each falls short, file:line)

Modello e configurazione

the best

Guadagno atteso

ranks the kernel levers (diagnostic)

Da dove viene l'idea

row 87ar

Esito

done 2026-10-31: qmv at 95-98% of peak overlapped, 64-88% chained (about 3.5 us ramp per dependent read); down 63%/74% (lane waste); router 6.5%; rows 99 and 100 queued

Lezione

on the M4 Pro MLX's one-token 4-bit qmv already reads at 95 to 98% of peak when overlapped and the qmv_fast alignment miss costs nothing; the remaining weight-read losses are the dependent-read ramp (about 3.5 us per level, a chip cost) and lane waste in the engine's own MoE kernels.

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