Verba/Rapida

Experiments #175d

The 3-row verify's anatomy against its byte floor, then a cross-row dense kernel (Mac drafter sweep...

open

What was tested

The 3-row verify's anatomy against its byte floor, then a cross-row dense kernel (Mac sweep 2026-11-20, ranked 2; MTPLX `vqmm_crossrow.py`, a 4-bit g64 qmv reading each packed weight once for two rows): split V(3) by phase (dense projections, , , head) against its bytes; microbench Lesto's dense projections at M = 3 against three one-row calls; a kernel row only where a 3-row call costs more than its bytes

Model and setup

the best

Expected gain

0 to -1.5 ms a round (inferred)

Where the idea came from

`docs/research/2026-11-20-mac-drafters-stretch-merge.md` ยง Effect

Outcome

open: step 1 done 2026-11-20 07:47, three categories over the line (MoE experts +1,727 us, attention +2,113 us, dense +928 us a round over one row's floor at 8k; norms +285 us not), step 2 is rows 175dm, 175da and 175dd

Lesson

on the best at 8k, the 3-row verify's MoE experts, attention and dense matmuls each cost 0.9 to 2.1 ms a round more than one row's split time for the bytes three rows must read (4.8 ms together, 20% of a round), while its norms do not; the verify is not at its byte floor, and the largest excess is attention, whose KV three queries share.

Adopted

no (a diagnostic)

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