Speculative Decoding in Infernix: DFlash2 vs DSpine vs DSpark vs MTP
Speculative decoding is the single biggest free speed multiplier in Infernix. Learn which drafter matches each model and how --draft-tokens auto adapts per turn.
How Does --spec auto and --draft-tokens auto Work?
If you omit --spec or pass --spec auto, Infernix inspects the loaded checkpoint and picks the fastest measured drafter available. Pairing it with --draft-tokens auto dynamically adjusts the speculative lookahead length round-by-round: long predictable code blocks draft more tokens per verification step, while high-entropy reasoning steps shorten the draft window to avoid wasted compute.
Choosing Between DFlash2, DSpine, DSpark, and MTP
Each model family in Infernix has a specific drafter sweet spot:
- DFlash2 (776 MB, 8-bit Inco AI drafter): Recommended for all Qwen3.8-Flash-Next conversions and general Qwen3.8-27B chat. Benchmarks 5–17% faster than native MTP.
- DSpine (1.53 GiB, Tencent NVFP4/b16 drafter): Built for Qwen3.8-27B NVFP4 during long coding and agentic sessions. Decodes 12–17% faster on code at single-request concurrency, though 5–6% slower on short casual chats.
- DSpark: The default recommended drafter for Thinking Machines Lab Inkling 2 Mini (--spec dspark --lm-head-draft).
- MTP (Multi-Token Prediction): Uses the checkpoint native prediction head—recommended for Ornith-1.5-122B NVFP4 where external drafters are not required.
Enabling DSpine on Qwen3.8-27B for Long Coding Sessions
To switch Qwen3.8-27B from DFlash2 to Tencent DSpine, point --draft-model to the drafter subfolder inside Wallawalla47/Qwen3.8-27B-NVIDIA-NVFP4-QAD-Infernix-Exact:
infernix-serve.exe Qwen3.8-27B-NVIDIA-NVFP4-QAD-Infernix-Exact.infernix ^
--max-context auto --max-concurrency 2 ^
--spec dspine --draft-model drafter\Qwen3.8-27B-DSpine-b16-Infernix.infernix ^
--draft-tokens auto --ngram-draft-tokens auto ^
--kv-dtype int8 --preserve-thinking --tolerant-tool-calls