Verba/Rapida

Esperimenti #175dm

Row 175d step 2, the MoE experts: the 3-row verify's experts take 7,952 us a round at 8k against 6,225 us...

done

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

Cosa è stato provato

Row 175d step 2, the experts: the 3-row verify's experts take 7,952 us a round at 8k against 6,225 us for one row's split time scaled to the 3-row union's bytes (+1,727 us). Microbench, in normal mode on the shapes (6 experts a row, the r79-head weights), MLX's `gather_qmm` path at 3 rows against the one-row fused MoE kernel at 1 row and against the bytes the 3-row union reads; a kernel row only where the 3-row call costs more than its bytes at the one-row kernel's rate

Modello e configurazione

the best

Guadagno atteso

+2% to +7% (inferred: up to the 1.7 ms excess of a 23.8 ms round)

Da dove viene l'idea

`2026-11-20-mac-r175d-verify-anatomy/README.md` § Row 175d step 1 result

Esito

done 2026-11-21 (engine-rows): a repeated expert stream costs 11.499 us a layer [11.485, 11.523] and a new expert in its place adds 1.499 [1.465, 1.588]: reading work, dedup_row true (1,728 us a round projected), rate_row false (rows kernels 7.25 us a layer faster than the one-row kernel); the shared-dequant body goes to row 175dw (`2026-11-21-mac-r175dm-verify-experts-excess/README.md` § Result)

Lezione

in the 3-row verify's MoE experts a repeated expert stream costs 11.5 us a layer whether or not its bytes are new (a new expert adds 1.5), so the repeats are per-stream work, not bytes: a read-once dedup kernel would save little, and the lever is sharing one stream's loads and dequantized values across rows, which row 176a's DD body did at a cost above the saving.

Adottato

no (a diagnostic; the dedup lever goes to row 175dw, a shared-dequant body tested per row against a stream's 11.5 us)

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