Verba/Rapida

Esperimenti #175dd

Row 175d step 2, the dense matmuls: the 3-row verify's dense category takes 6,380 us a round at 8k against...

done

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

Cosa è stato provato

Row 175d step 2, the dense matmuls: the 3-row verify's dense category takes 6,380 us a round at 8k against 5,452 us for one row's (+928 us), with a 4-bit wide head call and an 8-bit router matvec where one row has the 2-bit head and a fused router. Microbench, in normal mode on the shapes, each dense projection at M = 3 against three one-row calls and one, and the head and router paths apart; a cross-row kernel row (MTPLX `vqmm_crossrow.py`, each packed weight read once for all rows) only where M = 3 costs more than its bytes

Modello e configurazione

the best

Guadagno atteso

+1% to +4% (inferred: up to the 0.9 ms excess)

Da dove viene l'idea

`2026-11-20-mac-r175d-verify-anatomy/README.md` § Row 175d step 1 result

Esito

done 2026-11-21 (engine-rows): line met, 257.8 us a round counted against 95: the router's bit-identical split-K pick (bn 2, K split 4) +6.53 us a call [+6.32, +7.07], 196.0 us a round, and mlp_down's rounding pick 61.8; the lossless sum read 0 because the bench's lossless class covered projections only; no projection candidate recovers their 763.4 us excess; router queued as row 175dr, projections as row 175dt (`2026-11-21-mac-r175dd-dense-verify-matmuls/README.md` § Result)

Lezione

a bench's lossless confirmation must cover every shape it can count, not only the class the hypothesis expected: the router's bit-identical split-K pick (+6.53 us a call, 196 us a round) cleared the line alone while the lossless sum read 0 because the lossless class ran on projections only; and on the 3-row projections no stock kernel, K split or column tile recovers their 763 us excess, so the remaining lever there is the tile's own code.

Adottato

no (a diagnostic; the router pick goes to served row 175dr, the projection excess to tile-search row 175dt)

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