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 The text you send to the model before it starts answering. (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 The unit of text a model reads and writes: roughly a short word or a piece of a longer one., 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: The writing phase: the model produces the reply one token at a time. Approfondisci steps part at rounding level (engine against floor 0.47 to 1.61 per layer, never 3 times); Prefill: the model reading the whole prompt before it can write the first token. Approfondisci 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)