incoai/Inkling-2-Mini-DFlash2

A DFlash 2 draft model trained by Inco AI for thinkingmachines/Inkling-2-Mini (uploaded on 11 24). It cannot function as a standalone language model; it is used only within speculative decoding services to predict entire blocks of tokens at once, retaining several candidates per position. A lightweight selector then chooses one coherent path for verification by the target model, ensuring that the output still adheres to the target model's sampling distribution. The underlying method is described in the DFlash paper from ICML 2026, with code available at z-lab/dflash.

A DFlash 2 draft model trained by Inco AI for thinkingmachines/Inkling-2-Mini (uploaded on 11 24). It cannot function as a standalone language model; it is used only within speculative decoding services to predict entire blocks of tokens at once, retaining several candidates per position. A lightweight selector then chooses one coherent path for verification by the target model, ensuring that the output still adheres to the target model's sampling distribution. The underlying method is described in the DFlash paper from ICML 2026, with code available at z-lab/dflash.

Why it matters Without modifying the target model or its output distribution, adding just a draft model can more than double single-stream generation throughput compared to standard decoding, outperforming the model's built-in multi-token prediction.

Upvotes 31 · Likes 32 · Downloads 6734

Reasons

  • The authors report that on a single H200 (using SGLang + FlashAttention 4, with 7 draft tokens per step and official default sampling), the average acceptance length is 4.80–4.97 for GSM8K, MATH-500, HumanEval, and MBPP, and 3.90 for MT-Bench; the model's built-in MTP (DSpark) achieves 2.95–3.66.
  • At concurrency level 1, throughput is 2.03–2.77 times that of standard autoregressive decoding (MTP achieves 1.56–2.17 times). For example, on MATH-500, speed increases from 190.5 tokens per second to 525.8. At concurrency levels 8 and 32, the speedup drops to 1.37–1.92 times, which is still higher than MTP.
  • Licensed under Apache 2.0; includes an SGLang compatibility patch with complete startup commands.

Usage

  • Use the official lmsysorg/sglang:inkling-2-mini image. First, run hf download incoai/Inkling-2-Mini-DFlash2 sglang\_inkling\_dflash2.py and apply this patch.
  • python -m sglang.launch_server --model-path thinkingmachines/Inkling-2-Mini --speculative-algorithm DFLASH --speculative-draft-model-path incoai/Inkling-2-Mini-DFlash2 --speculative-num-draft-tokens 8 --attention-backend fa4 --speculative-draft-attention-backend fa4

Risks

  • Only compatible with Inkling-2-Mini and SGLang. Evaluations were conducted only on a single H200 with a maximum of 4096 new tokens; speedup decreases as concurrency increases.
  • Performance metrics are self-reported by the authors and have not been independently verified in this entry. The model card does not specify the draft model's parameter count or memory usage.

Open

Hugging Face Trending

Explore the latest AI Radar updates