Verba/Rapida

Esperimenti #95

`qmv_fast` for K % 256 == 0: MLX picks its fast one-token 4-bit kernel only when K % 512 == 0...

sweep

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

Cosa è stato provato

`qmv_fast` for K % 256 == 0: MLX picks its fast one-token 4-bit kernel only when K % 512 == 0 (`.cpp:151`, `:488`, verified 2026-10-31), so every projection reading K = 2816 (fused QKV, full-layer Q

Modello e configurazione

K, dense gate-up, the head; about 860 MB of the about 2.2 GB a step reads) runs the guarded `qmv`; port MLX PR 4598 (closed unmerged, `qmv_fast_impl` with one pack per thread, 1.05x to 1.21x reported at M=1 on M1 Pro); check bit-exactness against `qmv`

Guadagno atteso

the best

Da dove viene l'idea

0 (voucher)

Esito

sweep 2026-10-31 | closed 2026-10-31 by row 94: a one-pack fast kernel is bit-identical to `qmv` and no faster at the five K = 2816 shapes

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