Esperimenti #53
Whether the dense 4-bit single-row matmuls are slow because K 2816 and 2112 miss MLX's `qmv_fast` (K %...
done
Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.
Cosa è stato provato
Whether the dense 4-bit single-row matmuls are slow because K 2816 and 2112 miss MLX's `qmv_fast` (K % 512): code read of MLX `64ea011`, then the same N timed with aligned K
Modello e configurazione
gemma-4-26b-a4b shapes
Guadagno atteso
decides an MLX kernel patch (**measured**)
Da dove viene l'idea
row 52
Esito
done 2026-10-30: refuted, aligned K runs no faster (152 to 172 GB/s either way); no patch
Lezione
a code path that looks slow is not the bottleneck until timed: K 2816 on the generic `qmv` runs as fast as an aligned K on `qmv_fast`; time the alternative shape before patching a kernel.
Adottato
no (refuted before any patch)