Verba/Rapida

Esperimenti #155d

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

done

Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.

Cosa è stato provato

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

Modello e configurazione

the warm forward

Guadagno atteso

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

Da dove viene l'idea

row 155c

Esito

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`)

Lezione

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.

Adottato

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`).

Vuoi vedere cosa hanno prodotto questi esperimenti? Lesto, il motore di inferenza per Gemma 4 sui Mac con Apple silicon, è su lestoengine.com

Creato da Federico Andrioli, @fedeandri su X Le misure di un laboratorio di ricerca, ricavate direttamente dai suoi file. Dati aggiornati al