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 Storing the model's numbers with fewer bits to make it smaller and faster, at some risk to quality. Approfondisci matmuls at Gemma 4's real The writing phase: the model produces the reply one token at a time. Approfondisci 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); Mixture of experts: a model made of many specialist sub-networks where only a few run per token. Approfondisci 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.