Verba/Rapida

Experiments #155d

Row 155c's split, re-run with its reproduction measure fixed: the chunk span (r155 `chunk_start` to...

done

What was tested

Row 155c's split, re-run with its reproduction measure fixed: the chunk span (r155 `chunk_start` to `chunk_evaluated`), and chunks under 1,024 new only (one blocking eval holds the whole forward there, `moePrefillEvalCadenceApplies`); plain, labelled and one-op-a-buffer modes on /155c ad92eae5, fresh requests. 155c's after-the-fact reading (about 70 ms fixed time, expert matmuls about 43 ms) is the hypothesis; a fix row is designed only if a component meets the 30 ms line

Model and setup

the warm forward

Expected gain

sizes up to about -2% per-turn reply if half the fixed part goes (inferred)

Where the idea came from

row 155c

Outcome

done 2026-11-23 (read-rows): line met on the combined reading: the MoE expert work's fixed part is 33.5 ms scaled over all 15 warm chunks (44.8 on the 12 under 512 tokens), not the summary's 85.5, which split one piece of work across two categories at the probe's 512-token switch to the fused MoE prefill kernels (`src/transformer.zig:12133-12140`, `src/moe_prefill_fused.zig:24` on ad92eae5); that fixed part is about one read of the 12.85 GB of expert weights (49.6 ms at 258.9 GB/s, inferred), so row 155e targets the 32 to 38 ms above it (`2026-11-23-mac-r155d-prefill-split-short/README.md`)

Lesson

a split by kernel category reads the work only while every request takes one route; at the probe's 512-token switch to the fused MoE prefill kernels the expert matmuls moved category and the fits turned opposite-signed, so the pre-registered expert line is met on the combined reading (33.5 ms; 44.8 on one route), and that fixed part is about one read of the 12.85 GB of expert weights (49.6 ms at 258.9 GB/s), leaving about 32 to 38 ms above the bytes floor at the warm chunk.

Adopted

no (a diagnostic). The met line queues row 155e (the expert matmuls' time above the bytes floor on warm chunks, `docs/experiments/mac-loop/.md`).

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