Esperimenti #156
SDPA block count per head dim on GPU class `s`: row 149v's trace names show the M4 Pro is class `s`...
done
Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.
Cosa è stato provato
SDPA block count per head dim on A graphics card, used here as the chip that does the heavy arithmetic for a model. class `s`: row 149v's trace names show the M4 Pro is class `s` (sliding `..._nosinks_64`, global `..._128` at 1k and 8k; `scaled_dot_product_attention.cpp:572-584`), not neither-`s`-nor-`d` as rows 149g and 149h read it; so row 149g's 128 arm moved only the sliding layers (-0.92% at 1k, -0.95% at 8k: the sliding layers are block-sensitive, never tuned), and the global layers take 256 blocks above 8,192 keys (28% of session turns, 20% of The writing phase: the model produces the reply one token at a time. Approfondisci The unit of text a model reads and writes: roughly a short word or a piece of a longer one.), the regime row 149g's 256 arm (-3.53% at 8k) priced. A The numbered revision of the quality-check procedure; results are only comparable within one version. switch per head dim (`MLX_SDPA_BLOCKS` split at `:603-607`), screened as row 149g: sliding 32 against 64; global 64, 128, 256 at 8k and at a 10k The text you send to the model before it starts answering. (row 149m: at 8k pass 1 reads 129, 149, 171 GB/s at forced 32, 64, 128 blocks and gains at each doubling, so 256 may beat the default 128 there too); then the length and head-dim table, rounding-class (partials' sum order), the Mac quality The unmodified model or build that every variant is compared against. before a race; supersedes row 149h; class `s` covers the M3 Pro too (`2026-11-13-mac-engine-audit/README.md` F2)
Modello e configurazione
the best
Guadagno atteso
decode +0.3% to +1.1% (inferred from row 149g's arms), reply -0.2% to -0.6%
Da dove viene l'idea
rows 149v, 149g; engine audit 2026-11-13
Esito
done 2026-11-19 01:51: screen passed by the sliding arm: 32 blocks for head dim 256 decode +0.53% at 1k, +0.69% at 8k, +0.80% at 16k (paired, bench first turns); every global count loses (default best); the race is row 156s, the global contradiction with row 149m is row 156g (`2026-11-13-mac-engine-audit/README.md` § Row 156 screen result). Earlier: runnable 2026-11-13: screen bar an arm +0.5% at 1k and 8k (sliding) or +0.8% at 10k (global)