Verba/Rapida

Esperimenti #176bd

Row 176m3d's lever as a general one (coordinator, 2026-11-22): add the [NR]-array down body (row 176a's...

done

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

Cosa è stato provato

Row 176m3d's lever as a general one (coordinator, 2026-11-22): add the [NR]-array down body (row 176a's DOWN_VARIANT_SOURCE shape at NR 1: per-tile wbase, gbase, sjv, bj and accumulator arrays) to the code as a second down body, bit-identical to the first; make the body a field of an R176S_TABLE entry and a dimension `lesto tune` searches (a plan-space version bump), so the M3's entry picks it, the M4 keeps the current body and an unknown chip finds its own best. Also read the two bodies' pipeline figures (registers, threadgroup limits) or compiled code for the mechanism. Then identity on both sets (150 of 150, 210 of 210) and a timed pair on the M3 (Federico's go covers row 176m3d's runs)

Modello e configurazione

the best, any device

Guadagno atteso

about 22 to 32 us a down call at 3 rows on the M3 (measured in row 176m3d), share not measured

Da dove viene l'idea

row 176m3d

Esito

done 2026-11-22 (shipped in Lesto 0.27.0 and 0.27.1; written up 2026-11-23 by read-rows): the array body is a second served down body, a field of R176S_TABLE and a `lesto tune` dimension; M4 identity 150 of 150 and 210 of 210 in four arms, the M4 tune kept the scalar body (a tie within 0.3 us a call), the M3's G15 entry down sps=6 tpt=4 ax=0 with the array body; M3 decode +1.40 and +1.70 paired, A/A +0.00, not pre-registered (`2026-11-22-mac-r176bd-down-body-choice/README.md` § Result)

Lezione

a kernel body is a per-device choice like a layout: the array body is bit-identical everywhere (432 of 432 checks on the M3, 150 of 150 and 210 of 210 in four arms on the M4), ties the scalar body on the M4 (within 0.3 us a call in the tune's final round, which kept scalar) and serves the M3's entry, which reads about +2% decode there (+1.4 and +1.7 tok/s paired against an A/A of +0.0, not pre-registered).

Adottato

no (not a new best: the M4 keeps its scalar-body entry and the selection set is unchanged; the lever shipped in Lesto 0.27.0 and 0.27.1 as the M3's G15 entry and a `lesto tune` dimension)

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