Verba/Rapida

Experiments #54

Metal System Trace of the patched best's decode step (`xctrace`)

done

What was tested

Metal System Trace of the patched best's step (`xctrace`)

Model and setup

the best

Expected gain

busy share and dispatch gaps (**measured**)

Where the idea came from

row 52

Outcome

done 2026-10-30: GPU 97% busy, 82 encoders per step, gaps 1 to 4 us; no kernel names (MLX labels none)

Lesson

for the Gemma 4 target's (head dims 256 and 512, KV) on under 0.32 is slower than the Triton kernel: single-user replies 21% to 37% slower at 8k on both smoke , so the Triton path the best runs is not the attention bottleneck to replace.

Adopted

no (slower in the smoke; no pair)

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