Verba/Rapida

Experiments #175dr3vgu3

Lean: [mac 175dr3vgu2]'s gate-up launch-shape ubench with the kbench's weight draw fixed (mx.random.randint...

done

What was tested

Lean: [mac 175dr3vgu2]'s gate-up launch-shape ubench with the kbench's weight draw fixed (mx.random.randint halves in place of mx.random.bits); prices C9's gate-up factor

Model and setup

the best

Expected gain

none (diagnostic)

Where the idea came from

`2026-11-28-mac-r175dr3v-row-exact-verify/README.md` ยง Pre-registration: row [mac 175dr3vgu3]

Outcome

done 2026-11-30: line met, swap_sg4 208.11 against 218.78 us a layer (-4.88%), exact on 1,013,760 outputs a shape; step [mac 175dr3vgs]

Lesson

for the row-exact gate-up kernel the grid order decides the speed, not the simdgroups a threadgroup: the gather qmv's (slots on y, rows on z) runs 4.2 to 4.9% faster than the served (rows on y, slots on z), exactly.

Adopted

no (a lean ubench adopts nothing; the served step is [mac 175dr3vgs]).

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