Experiments #gen175dr3v5b
Per-switch split of gen175dr3v2's 19.1% cost: MLX_SERVE_VERIFY_ROW_ATTN=1 alone on LESTO f43ae395 against...
done
What was tested
Per-switch split of gen175dr3v2's 19.1% cost: MLX_SERVE_VERIFY_ROW_ATTN=1 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 gen175dr3v5b
Outcome
done 2026-11-28 09:52 (engine-rows): the The step where each token looks back at the earlier tokens to decide what matters. Read more switch alone costs 5.5% (removing it +5.79% [+4.41, +6.98]), 4% at 1k to 8% at 16k; with row a it leaves most of the 1k cost to the projections (`mac/gen175dr3v5b/1`; README § Result, row gen175dr3v5b)
Lesson
the row-exact attention switch alone costs 5.5% of The writing phase: the model produces the reply one token at a time. Read more on general text, near the 4% expected: 4% at 1k growing to 8% at 16k, the growth matching one KV reread per row. With the Mixture of experts: a model made of many specialist sub-networks where only a few run per token. Read more switch it covers only about 4 of the three switches' 17% at 1k, so the flat cost is the projections'.
Adopted
no (a cost measurement for lesto-planner's k-row kernel choice)