Esperimenti #45
Row 44's map on mlx-serve with the KV cache at 8-bit (`--kv-quant 8`): speed pair against the same map...
done
Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.
Cosa è stato provato
Row 44's map on mlx-serve with the The memory where the model keeps what it has already read, so it does not recompute it for every new token. Approfondisci at 8-bit (`--kv-quant 8`): speed pair against the same map, then the A number measuring how different two probability distributions are; 0 means identical. The numbered revision of the quality-check procedure; results are only comparable within one version. through each server's API
Modello e configurazione
gemma-4-26b-a4b mixed 4/8, KV 8-bit
Guadagno atteso
+2% to +8% The writing phase: the model produces the reply one token at a time. Approfondisci (**guess**: KV bytes at 8k)
Da dove viene l'idea
row 44
Esito
done 2026-10-30: decode -23.8% (interval -24.4 to -23.4), KL unchanged (API probe -0.0008 against its control); mlx-serve 26.10.3 dequantizes the whole cache per layer per step because its fused quantized-KV kernel never engaged; not adopted
Lezione
a Storing the model's numbers with fewer bits to make it smaller and faster, at some risk to quality. Approfondisci KV cache saves bytes only where The step where each token looks back at the earlier tokens to decide what matters. Approfondisci reads it packed: mlx-serve 26.10.3 dequantizes the whole cache per layer per step unless its fused kernel engages, which it never did on Gemma 4 at 8k (-23.8% decode); check the engine's attention path, and its log line for the packed read, before pricing a KV lever.
Adottato
no (decode -23.8%; the lever needs a packed-read attention kernel this engine does not run here)