Inkling-2-Mini DSpark
DSpark draft model for speculative decoding of thinkingmachines/Inkling-2-Mini.
| Target | thinkingmachines/Inkling-2-Mini (looped MoE, 24 layers run as 48 layer visits, NVFP4 + MXFP8) |
| Draft layers | 3 (hidden 2304, 24 heads / 8 KV heads, sliding window 1024) |
| Block size | 8 (anchor + 7 draft tokens) |
| Target layer visits tapped | 5, 23, 41, 48 |
| Vocabulary | 201,024 (200,058 real tokens) |
| Size | ~606 MB, bf16 |
Benchmarks
1x H200, tensor-parallel 1, 7 draft tokens, greedy decoding, 2048 output tokens, concurrency 1, chat template with thinking on. Datasets: MT-Bench, GSM8K, HumanEval, MATH-500, MBPP, TAT-QA, FinanceReasoning and FinQA. Speedup is DSpark output tok/s over the no-speculation baseline on the same engine.
| Benchmark | Baseline tok/s | DSpark tok/s | Speedup | Accept length |
|---|---|---|---|---|
| MT-Bench | 157.6 | 361.8 | 2.30x | 3.55 |
| GSM8K | 160.0 | 471.4 | 2.95x | 4.24 |
| HumanEval | 162.4 | 495.3 | 3.05x | 4.42 |
| MATH-500 | 162.2 | 498.8 | 3.07x | 4.68 |
| MBPP | 152.4 | 474.3 | 3.11x | 4.21 |
| TAT-QA | 148.6 | 460.2 | 3.10x | 4.68 |
| FinanceReasoning | 150.7 | 467.8 | 3.10x | 4.57 |
| FinQA | 151.3 | 484.0 | 3.20x | 4.48 |
| Mean | 2.98x | 4.36 |
Accept length is tokens produced per target forward pass, including the bonus token.
For reference, the DSpark draft bundled with Inkling-2-Mini reaches a mean 2.67x speedup (accept length 3.81) in the same setup.
Usage
Requires a vLLM build with Inkling-2 support. On Hopper GPUs (H100/H200) we used the vLLM nightly wheel
vllm-0.34.0rc1.dev1129+gc32251b5d plus the tile-8 kernel workaround (vLLM PR #69104), because the vendor image
ships Blackwell-only kernels. vLLM loads this checkpoint natively through its Inkling-2 DSpark path.
vllm serve thinkingmachines/Inkling-2-Mini \
--trust-remote-code \
--tensor-parallel-size 1 \
--max-model-len 16384 \
--speculative-config '{"method": "dspark", "model": "intuit/Inkling-2-Mini-dspark", "num_speculative_tokens": 7}'
Offline:
from vllm import LLM, SamplingParams
llm = LLM(
model="thinkingmachines/Inkling-2-Mini",
trust_remote_code=True,
tensor_parallel_size=1,
max_model_len=16384,
speculative_config={"method": "dspark", "model": "intuit/Inkling-2-Mini-dspark", "num_speculative_tokens": 7},
)
out = llm.chat([{"role": "user", "content": "What is 17 * 23?"}], SamplingParams(temperature=0, max_tokens=512))
The draft directory holds only config.json (the target config with the draft's mtp_config) and mtp.safetensors.
Training
We trained this DSpark draft model from scratch for 3 epochs using speculators 0.8.0 (online hidden-state extraction from the live target) on
mlabonne/open-perfectblend plus finance datasets
(a finance instruction mix and Nemotron finance data). All responses were regenerated by Inkling-2-Mini with thinking on,
so the draft learns from the target model's own outputs.
- Downloads last month
- 42
Model tree for intuit/Inkling-2-Mini-dspark
Base model
thinkingmachines/Inkling-2-Mini