Esperimenti #5
speculative decoding on the Mac: DFlash drafter via TensorFold, mlx-lm draft model, prompt lookup (row 2)
blocked
Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.
Cosa è stato provato
A speed trick where a small model guesses several tokens ahead and the big model checks them in one pass. Approfondisci on the Mac: DFlash The small guessing model used in speculative decoding. Approfondisci via TensorFold, mlx-lm draft model, The text you send to the model before it starts answering. lookup (row 2)
Modello e configurazione
gemma-4-26b-a4b 4-bit
Guadagno atteso
DFlash was -11.7% on the A graphics card, used here as the chip that does the heavy arithmetic for a model.; TensorFold reports 1.5x chat
Da dove viene l'idea
done 2026-10-28: all slower than mlx-lm OptiQ-4bit: mlx-vlm alone -16.0%, + MTP -10.1%, + DFlash -16.3% The writing phase: the model produces the reply one token at a time. Approfondisci; no drafter on the Mac (`docs/experiments/2026-10-28-mac-spec-decode/README.md` § Result)
Esito
blocked: after row 3