Verba/Rapida

Experiments #175dw

Row 175dm's dedup lever under reading work: a gate/up and down body that reuses one stream's loads and...

done

What was tested

Row 175dm's dedup lever under reading work: a gate/up and down body that reuses one stream's loads and dequantized values across the verify rows that share an expert, keeping each row's arithmetic; first a microbench per row against a stream's 11.5 us a layer (row 175dm's harness, `same` and natural unions), before any read-once kernel; row 176a's DD body, which carried 3 rows' accumulators everywhere, cost more than it saved

Model and setup

the best

Expected gain

up to +7% (inferred: 1,728 us a round priced at a `same` repeat's cost, an upper projection)

Where the idea came from

`2026-11-21-mac-r175dm-verify-experts-excess/README.md` § Result

Outcome

done 2026-11-21 (engine-rows): line failed, gain_nat -4.248 us a layer [-7.587, -2.172]: the body's fixed cost (gain_indep -16.0 [-18.1, -14.6]) ate a saving of 2.4 us a repeat net (5.0 on `same`); down is the loss (-7.08), gate/up level (+1.07); overhead row 175dv queued as pre-registered (net x 5 x 30 at the lower bound 197 us) (`2026-11-21-mac-r175dw-shared-dequant-experts/README.md` § Result)

Lesson

in the 3-row verify's experts, loading and dequantizing a shared expert once saves 2.4 to 5.0 us a repeat net of the body's own cost, a fifth to two fifths of a stream's 11.5. A body that does it pays a 16 us a layer fixed cost with nothing shared (down's 3-simdgroup tile and the register footprint, by the diagnostics), which ate the saving on natural routing (-4.25 us a layer). The lever survives only if that fixed cost comes down.

Adopted

no (a diagnostic; the line failed; the fixed cost goes to overhead row 175dv)

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