Esperimenti #35
DSpark heads on the Mac: SambaNova's `gemma4-26b-a4b-dspark-b16` (speculators `DSparkDraftModel`, Qwen3...
done
Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.
Cosa è stato provato
DSpark heads on the Mac: SambaNova's `gemma4-26b-a4b-dspark-b16` (speculators `DSparkDraftModel`, Qwen3 backbone, maps to mlx-vlm 0.7.10's generic `dspark` The small guessing model used in speculative decoding. Approfondisci) and systalyze's `Gemma4DSparkModel` head (mlx-vlm's `gemma4_dspark`), or through mlx-dspark's `--drafter`, which runs the speculators format and measured makora's head at 1.27x on an M4 Pro (8-bit target; chat 1.06x). Timing-free first: each head loads, acceptance per round on the coaching sessions, and the drafter's time per round (a 2.04B A 16-bit number format for model weights; the full-quality baseline here. head reads about 4 GB per pass at 273 GB/s, so also a 4-bit Storing the model's numbers with fewer bits to make it smaller and faster, at some risk to quality. Approfondisci head); then the best paired against MTP on the same engine
Modello e configurazione
gemma-4-26b-a4b OptiQ-4bit
Guadagno atteso
0 to +10% The writing phase: the model produces the reply one token at a time. Approfondisci over MTP (**guess**)
Da dove viene l'idea
`docs/research/2026-10-29-gap-levers-merge.md` (claim 8c)
Esito
done 2026-11-24 (engine-rows): step 1 closed the row: the best DSpark head (SambaNova b16 at k 4) reads 84.5% of MTP's best The unit of text a model reads and writes: roughly a short word or a piece of a longer one. per GB on an optimistic 4-bit bytes bound (95.3% English, 78.1% Italian), 2.705 tokens a round against MTP's 3.907 at 5 drafts and 2.506 at 2; no Lesto port (`docs/experiments/2026-11-24-mac-r35-dspark-acceptance/README.md` § Result)
Lezione
on the general set v2, the best DSpark head for Gemma 4 A Gemma 4 mixture-of-experts model: 26 billion parameters in total, about 4 billion active per token. (SambaNova b16, k = 4) reaches only 84.5% of MTP's tokens per GB, even on an optimistic 4-bit bytes bound. Its longer accepted runs on English (up to 3.4 tokens a round at 1k) do not pay for its own weights and the wider verify, and on Italian its acceptance falls to MTP's level. A drafter for this lab has to keep its acceptance on Italian, not only on English.
Adottato
no (CLOSE on the pre-registered line: 84.5% under 100%, so no Lesto port).