Experiments #149q
The best's 121 dense quantized matvecs a decode step (`affine_qmv` x91, `affine_qmv_fast` x30: 5.2 ms, half...
done
What was tested
The best's 121 dense Storing the model's numbers with fewer bits to make it smaller and faster, at some risk to quality. Read more matvecs a The writing phase: the model produces the reply one token at a time. Read more step (`affine_qmv` x91, `affine_qmv_fast` x30: 5.2 ms, half the step, row 149v): bytes per dispatch from the weight shapes and the dispatch log's grids against the bandwidth ceiling, then the lever on the ones furthest under it (MLX's qmv tiling at these shapes, or fusing the matvecs that share an input)
Model and setup
the best
Expected gain
sized 2026-11-12 from the A saved copy of a model's weights at some point in training. headers: 1,183 MB in 5.17 ms split (229 GB/s, about 90% in normal mode), so 0.2 to 0.45 ms a step, +2% to +4%
Where the idea came from
row 149v
Outcome
done 2026-11-12: the 121 dense matvecs run at about 250 GB/s in normal mode (230 split), 90% of the ceiling; the 0.44 ms left is spread over every dispatch (head 67 us, MLP down the weakest at K = 2112); no lever (`2026-11-12-mac-decode-profile-r147`)
Lesson
the best's 121 dense quantized matvecs read their 1,183 MB a step at about 250 GB/s in normal mode (90% of the ceiling); the 0.44 ms left is spread over every dispatch (the largest share is the head's 67 us, the weakest ratio the MLP down at K = 2112), so the dense matvecs hold no lever on the scale of the gap.
Adopted
no (a diagnostic)