Verba/Rapida

Experiments #gen175dr3v5e

Per-switch split of gen175dr3v2's 19.1% cost: MLX_SERVE_VERIFY_ROW_QMM=1 with MLX_LESTO_QMV_FAST_ROWS=0...

done

What was tested

Per-switch split of gen175dr3v2's 19.1% cost: MLX_SERVE_VERIFY_ROW_QMM=1 with MLX_LESTO_QMV_FAST_ROWS=0 alone on LESTO f43ae395 against the split arm, general set v2, gen175dr3v2's A/A reused, for lesto-planner's choice of which k-row kernel to write first

Model and setup

the best

Expected gain

none (cost measurement)

Where the idea came from

`2026-11-28-mac-r175dr3v-row-exact-verify/README.md` § Pre-registration: row gen175dr3v5e

Outcome

done 2026-11-28 14:29 (engine-rows): the projections switch with fast rows off costs 10.5% (removing it +11.77% [+11.37, +12.20]), against 12.6% with the multi-row kernels: one qmv threadgroup a row decodes 2.4% faster, the direction of row diag175dr3vmb at half its size (`mac/gen175dr3v5e/1`; README § Result, row gen175dr3v5e)

Lesson

with fast rows off (one qmv threadgroup a row) the row-exact projections switch costs 10.5% of , against 12.6% with the multi-row kernels, so served decode confirms the microbench's direction (one threadgroup a row is cheaper) at half its predicted size; the projections remain the largest part of the row-exact cost.

Adopted

no (a cost measurement for lesto-planner's k-row kernel choice)

Want to see what these experiments produced? Lesto, the Gemma 4 inference engine for Apple silicon Macs, is on lestoengine.com

Made by Federico Andrioli, @fedeandri on X A research lab's own measurements, generated from its files. Data built