Verba/Rapida

Esperimenti #61

The router matmul computed inside the router top-k kernel on mlx-serve (PATCHED, bit for bit MLX's 8-bit...

done

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

Cosa è stato provato

The router matmul computed inside the router top-k kernel on mlx-serve (PATCHED, bit for bit MLX's 8-bit `qmv_fast`): 30 fewer serialized weight reads per step

Modello e configurazione

the best (row 57b)

Guadagno atteso

+0.85% (**measured** step 1: -1.0% per forward)

Da dove viene l'idea

rows 59, 57b

Esito

done 2026-10-30: +1.2% [+1.2, +1.3], lossless 20/20 and bit-exact; replication 61r running (`docs/experiments/2026-10-30-mac-dispatch-fusion/`)

Lezione

one fused kernel that removes 30 serialized 0.36 MB weight reads gave +1.2% decode, as much as 110 removed small dispatches (row 57b): on the Mac, count serialized weight reads, not dispatches.

Adottato

no (a win; adopted after its replication, row 61r)

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