Verba/Rapida

Experiments #103

Row 101's idle-GPU prefetch extended to the other short critical-path kernels (fused QK-norm plus RoPE, the...

screen

What was tested

Row 101's idle-GPU prefetch extended to the other short critical-path kernels (fused QK-norm plus RoPE, the router's top-k, the head tail) and resized for the stack, sized in the harness first, lossless

Model and setup

the best

Expected gain

+0.5 to +1.5% (inferred)

Where the idea came from

rows 101s, 102s

Outcome

screen done 2026-10-31 (103): lossless, -3.5% (the GELU-table prefetch costs 0.4 ms in the engine, free in the harness); KV-front part level; not adopted; 103t queued

Lesson

a prefetch the harness found free cost 3.5% in the engine: screen each prefetch point alone in the engine before stacking, and treat the harness's weight placement (allocated copies against file-mapped banks) as a difference to check.

Adopted

no (lossless but 3.5% slower; part (a) level).

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