Verba/Rapida

Esperimenti #155e

The warm prefill chunk's MoE expert time above the bytes floor (row 155d: 81 to 88 ms scaled at the median...

done

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

Cosa è stato provato

The chunk's expert time above the bytes floor (row 155d: 81 to 88 ms scaled at the warm chunk of 104 to 118 against 49.6 ms to read every expert weight once). Step 1, no build: one split trace of row 155d's 15 requests with `MLX_SERVE_MOE_PREFILL_FUSED_OFF=1` beside its own, giving per width the gather and fused routes' expert time, each width's excess over its bytes floor (experts touched times their bytes over 258.9 GB/s) and the kernels' own bandwidth; then a lossless kernel or route change for the width band holding most of the excess (row 158's lower fused threshold lost, so not that), checked on general text and the 50 sessions

Modello e configurazione

the warm prefill forward

Guadagno atteso

about -1.6% warm-turn reply, G about +0.8% on warm turns and +0.4% over all, unchanged (inferred)

Da dove viene l'idea

row 155d

Esito

done 2026-11-23 (read-rows): no further step opened; band-wide tile 155eg3: the band pick is stock; width rules (155ew's 8-row tile, the down-only 16,64,32,1,2 from 345 sized in the closure): about 0.05% of or less each; fused threshold 158, 155r3, 155rw: no gain lower, no served penalty at 520 to 768; a new band kernel is about +0.4% G by estimate and nothing on the +4.1% decode gap (`2026-11-23-mac-r155e-moe-route-split/README.md` § Result: row 155e closed)

Lezione

a roofline gap (the warm chunk's expert work 35.7 to 58.9 ms above its roofline floor) is not itself a lever. A band-wide tile found nothing, each width rule came to about 0.05% of reply time or less (0.053% and 0.041% for the 8-row tile, summed over the requests it touches; 0.033% and 0.022% for the down-only rule, charged to every request at its largest observed saving), lowering the fused threshold lost (row 158) and keeping it showed no served penalty at the tested widths above 512; the remaining candidate (a new kernel) is about +0.4% G by estimate and nothing on the decode target. Before opening a kernel row on a prefill roofline gap, size it on the track's driving metric.

Adottato

no (no tested change clears a pair's threshold; the fused route stays at 512 and the gather keeps its stock tile).

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