Verba/Rapida

Esperimenti #110

The existing fused expert reduce extended to Gemma 4's prefill shape (`transformer.zig:45185` engages only...

not

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

Cosa è stato provato

The existing fused expert reduce extended to Gemma 4's shape (`transformer.zig:45185` engages only for two other models): bit-exact against take, multiply and sum

Modello e configurazione

the best

Guadagno atteso

at most about -0.2 s per 8k first (-2%; traffic estimate inside row 109's 1.45 s gap, not additive if 109 fuses the reduce; row 106)

Da dove viene l'idea

row 107

Esito

not started; premise confirmed in Lesto 2026-11-02: `expertReduceApply` (`src/transformer.zig:43757` at strip-4) accepts only (top_k, hidden) = (10, 2560) or (8, 4096), so Gemma 4 's (8, 2816) declines and its prefill runs the unfused reduce; to be stacked with rows 109, 111 and 105c as one lossless prefill pair; code done 2026-11-02: LESTO row/110 `8a6a7dc` (from strip-4) admits (8, 2816) behind `MLX_SERVE_R110_OFF`, the config cache key now includes hidden (), and the bit-identity test passed on the M4 at four shapes up to an 8192-token chunk (row110build, 2/2 tests); waits for the stacked pair

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