Verba/Rapida

Esperimenti #151k

Why the flat down-reduce gave +0.39% where 2% was sized: the MoE decode call timed alone at Gemma 4's...

done

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

Cosa è stato provato

Why the flat down-reduce gave +0.39% where 2% was sized: the call timed alone at Gemma 4's geometry (128 experts, H 2816, I 704, 6 a , experts rotated so weights come from DRAM) with the flat kernel on and off (LESTO `/151k` 92f902e8, test `probe 151k`)

Modello e configurazione

the best

Guadagno atteso

diagnostic; tells whether the down-reduce kernel itself holds a gain the step hides

Da dove viene l'idea

row 151

Esito

done 2026-11-13: , one MoE decode call 94.8 us with the best's down-reduce and 92.8 with the flat one (-2.2%), about 216 GB/s either way, so the call is read-bound and the lanes cost 0.6% of a step at most (`2026-11-12-mac-moe-downred-flat/README.md`)

Lezione

the MoE decode call at Gemma 4's geometry runs at about 216 GB/s whatever the down-reduce's lane use; spreading its lanes saves 2 us a call, 0.6% of a step at most, so the MoE kernel's remaining lever is bytes, not lanes.

Adottato

no (diagnostic; row 151 stays a rounding-class stack candidate at +0.39%)

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