Verba/Rapida

Esperimenti #90e

Where an 8-bit KV decode step loses 30% against dense on the sessions (61.5 against 88.0 tok/s, row 90d)...

done

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

Cosa è stato provato

Where an 8-bit KV step loses 30% against dense on the sessions (61.5 against 88.0 , row 90d): one step of `lesto_r90d_kv8` and one of the dense best at about 6k of context, per kernel on the timeline (Metal trace), timing-free diagnostic before any further 8-bit kernel

Modello e configurazione

the best with `--kv-quant 8`

Guadagno atteso

2.5 GB of peak memory at the sessions (19.05 against 21.52 GB), about 30% decode to recover

Da dove viene l'idea

row 90d

Esito

done 2026-11-12: the dense view dequantizes the whole cache every step, 2.2 ms (1k) to 3.4 ms (8k) of the 8-bit step's extra 3.5 to 5.1 ms; the write is 0.6 ms; row 90c's split was the wrong way round; rows 90f and 90g (`2026-11-07-mac-reopened-rows`)

Lezione

on Lesto an 8-bit costs 3.5 ms (1k) to 5.1 ms (8k) a decode step because the dense view dequantizes the whole cache every step (2.2 to 3.4 ms by label) and SDPA then reads the copy; the write is 0.6 ms. A cache only pays where reads it packed in one pass.

Adottato

no (a 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