Verba/Rapida

Esperimenti #121e

Per-layer comparison of Lesto and mlx-lm on one prompt (row 121d's pre-registered next step): the best's...

done

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

Cosa è stato provato

Per-layer comparison of Lesto and mlx-lm on one (row 121d's pre-registered next step): the best's residual stream after each of the 30 layers for one 8k English prompt and its first reply , Lesto against mlx-lm, with mlx-lm's own batched against token-by-token forward as the floor; Lesto has no dump flag, but its DFlash capture (`CaptureLayers`, lesto `src/transformer.zig:4561`, at a80e75e) already returns the residual after any listed layers for all positions, so a Lesto row branch can write them to a file; diagnostic, timing-free

Modello e configurazione

the best, both engines

Guadagno atteso

none by itself; names the layer where the engines part beyond rounding, or shows they part only by rounding

Da dove viene l'idea

row 121d

Esito

done 2026-11-12: steps part at rounding level (engine against floor 0.47 to 1.61 per layer, never 3 times); chunks pass 3 times the floor at sliding layer 3 (3.57) on 4 chunk ends, so row 121f (`2026-11-11-mac-dense-and-gate/README.md`)

Lezione

per layer at the last position, Lesto and mlx-lm decode steps differ by 0.5 to 1.6 times mlx-lm's own call-by-call against one-forward floor, so decode is rounding-level; the one place over 3 times the floor is the prefill chunk at sliding layer 3 (3.6 times), measured on only 4 chunk ends, which is where the engines' greedy draws could first part.

Adottato

no (diagnostic)

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