Verba/Rapida

Experiments #57b

Row 57 plus the critical-path dispatch cuts on mlx-serve (PATCHED): the router RMSNorm as an extra output...

done

What was tested

Row 57 plus the critical-path dispatch cuts on mlx-serve (PATCHED): the router RMSNorm as an extra output of the first residual+norm seam (30 per step), K and V cache writes joined into one SliceUpdate on sliding layers (25), and any cheap head-dim-512 QK fusion; raced as one stack against the best

Model and setup

the best

Expected gain

+1.5% to +3% (**inferred**: row 57's +0.6% plus about 55 critical-path dispatches at 4 to 7 us)

Where the idea came from

row 57

Outcome

done 2026-10-30: +1.2% [+1.2, +1.3] decode (rows 57 + 57b stacked), lossless 20/20; replication 57br running (`docs/experiments/2026-10-30-mac-dispatch-fusion/`)

Lesson

two dispatch cuts that each missed or barely met a 0.7% threshold alone (+0.6% raced, -0.58% per forward) win together at +1.2%: on the Mac, race stacked lossless cuts rather than each one, and expect the race to give about 0.85 of the forward meter's saving.

Adopted

no (a win; adopted after its replication, row 57br)

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