Esperimenti #60
Verify width on the Mac best: mlx-serve's forward meter at 1, 2, 4, 8 and 16 rows per forward...
done
Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.
Cosa è stato provato
Verify width on the Mac best: mlx-serve's forward meter at 1, 2, 4, 8 and 16 rows per forward (`MLX_SERVE_DECODE_FWD_UBENCH_S`), sizing what a The small guessing model used in speculative decoding. Approfondisci could gain now that one-token The writing phase: the model produces the reply one token at a time. Approfondisci is shown to pay a fixed ~14 us per weight read
Modello e configurazione
the best (row 57b binary)
Guadagno atteso
sizes the speculative-decoding lever (rows 33, 35, 58)
Da dove viene l'idea
row 59
Esito
done 2026-10-30: 1.84x at 2 rows, 2.34x at 4, 3.59x at 8, 5.88x at 16 (each row reads its own experts); a drafter is a 5-10% lever at best (`docs/experiments/2026-10-30-mac-dispatch-fusion/`)
Lezione
on the Mac a A Gemma 4 mixture-of-experts model: 26 billion parameters in total, about 4 billion active per token. verify step costs 1.84x a decode step at 2 rows and 2.34x at 4, because each row reads its own experts: A speed trick where a small model guesses several tokens ahead and the big model checks them in one pass. Approfondisci is a 5% to 10% lever here at best, not the way to 100 How many tokens the model writes each second once it has started..
Adottato
no (a diagnostic)