- Status
- Verified
- Base model
- …
- Lineage
- …
- Unchanged from base
- …
- Trending
- #23
- Downloads, 30 days
- 1.5k
- Weights
- 4.1 GB
- Revision
DSpine generates draft tokens in parallel. Each layer passes predicted predecessor features to adjacent positions, carrying causal dependencies through network depth.
At a glance
- Task
- Text generation
- Input
- text
- Output
- text
- Parameters
- 2B
- Architecture
- Qwen 3
- Context
- 256K tokens
- Precision
- BF16
- Format
- Safetensors
- License
- Apache 2.0Commercial use
- Base model
- Fine tuned from Qwen/Qwen3.8-27B
- Released
- Nov 2026
- Updated
- Nov 2026
- Likes
- 129
- Downloads, all time
- 1,464
Architecture
- Layers
- 5
- Hidden size
- 5,120
- Attention
- 32 heads, grouped query, 8 KV heads
- Vocabulary
- 248,320
- Positions
- 262,144
- RoPE theta
- 10,000,000
- Tied embeddings
- No
Family
Models built on Qwen3.8-27B-DSpine-b16.
Run it
Pinned to the indexed revision.
hf download tencent/Qwen3.8-27B-DSpine-b16 --revision 5f54174d301dbca65d9aa4448dc47e56732d9a12Through the hub: the same tools, each file from a source that is up (Hugging Face, ModelScope, IPFS), at this revision. The second line checks every file against its address.
export HF_ENDPOINT=https://gethologram.ai
cd "$(hf download tencent/Qwen3.8-27B-DSpine-b16 --quiet)" && curl -s $HF_ENDPOINT/tencent/Qwen3.8-27B-DSpine-b16/resolve/main/SHA256SUMS | sha256sum -c --quietPapers
- Draft in Parallel, Condition Through Depth: Adjacent Causal Injection for Speculative DecodingHaohui Zhang et al., 2026
- DSpark: Confidence-Scheduled Speculative Decoding with Semi-Autoregressive GenerationXin Cheng et al., 2026
Spaces
Used in 1 Spaces.
Read the full model card
DSpine for Qwen3.8-27B
DSpine generates draft tokens in parallel. Each layer passes predicted predecessor features to adjacent positions, carrying causal dependencies through network depth.
This checkpoint is a five-layer draft model for Qwen3.8-27B, with block size 16 and an 8,192-token sliding window.
DSpine architecture
Evaluation
- Runtime: SGLang 0.5.22, BF16, FlashAttention 3, concurrency 8.
- Draft blocks: DSpine 16; official DFlash2 8.
- DSpine inference: dynamic verification referencing DSpark, with ReplaySSM enabled.
- General benchmarks:
xhighreasoning, greedy and temperature sampling, at most 4,096 new tokens. - Agent benchmarks: We evaluate WorkBuddy Bench (Code/Web/Office) using CodeBuddy sandbox trajectories:
low/xhighreasoning, temperature sampling, 20 conversations per subset, all tool-call prefixes replayed in order, prefix caching, and up to 32,768 new tokens per request. - Temperature sampling:
temperature=1.0,top_p=0.95,top_k=20.
Results
General Benchmark Acceptance Length
| Task | DFlash2(T=0) | DSpine(T=0) | DFlash2(T=1) | DSpine(T=1) |
|---|---|---|---|---|
| GSM8K | 5.69 | 7.20 | 5.45 | 6.31 |
| MATH-500 | 5.49 | 6.49 | 5.27 | 5.66 |
| HumanEval | 4.87 | 5.71 | 4.34 | 4.71 |
| MBPP | 5.04 | 6.14 | 4.79 | 5.41 |
| MT-Bench | 4.11 | 4.48 | 3.89 | 4.03 |
Agent Acceptance Length
Benchmarklowxhigh
DFlash2DSpineDFlash2DSpine
WorkBuddy Code4.195.084.064.92
WorkBuddy Web3.954.913.955.01
WorkBuddy Office4.245.634.205.49
SWE-bench Pro4.194.994.004.77
τ²-bench4.705.534.294.95
Agent End-to-End Throughput
Throughput is total output tokens divided by end-to-end concurrent replay wall time (tokens/s). Parentheses show speedup over autoregressive decoding (AR).
Benchmarklowxhigh
ARDFlash2 DSpineARDFlash2DSpine
WorkBuddy Code253.35590.27 (2.33×)686.23 (2.71×)193.00550.40 (2.85×)613.55 (3.18×)
WorkBuddy Web247.40639.74 (2.59×)773.19 (3.13×)252.26734.04 (2.91×)840.14 (3.33×)
WorkBuddy Office210.03664.77 (3.17×)805.53 (3.84×)215.05662.34 (3.08×)763.83 (3.55×)
SWE-bench Pro241.86657.71 (2.72×)713.41 (2.95×)248.17711.60 (2.87×)791.30 (3.19×)
τ²-bench301.39891.37 (2.96×)964.30 (3.20×)340.39871.98 (2.56×)978.39 (2.87×)
Installation
git clone https://github.com/Tencent/DSpine.git
cd DSpine
pip install -e .
Usage
sglang serve \
--model-path Qwen/Qwen3.8-27B \
--speculative-algorithm DSPINE \
--speculative-draft-model-path /path/to/Qwen3.8-27B-DSpine-b16 \
--speculative-num-draft-tokens 16 \
--dtype bfloat16 \
--attention-backend fa3 \
--speculative-draft-attention-backend fa3 \
--linear-attn-backend triton \
--enable-linear-replayssm-spec \
--mamba-ssm-dtype float32 \
--mamba-radix-cache-strategy extra_buffer \
--max-mamba-cache-size 64 \
--mem-fraction-static 0.80 \
--context-length 131072 \
--max-running-requests 8 \
--cuda-graph-max-bs-decode 8 \
--min-free-slots-delay 1 \
--sampling-backend flashinfer \
--reasoning-parser qwen3 \
--tool-call-parser qwen3_coder \
--trust-remote-code
Acknowledgements
We thank DFlash, SpecForge, SGLang and FlashInfer. Dynamic verification references DSpark.
Citation
@article{zhang2026dspine,
title = {Draft in Parallel, Condition Through Depth: Adjacent Causal Injection for Speculative Decoding},
author = {Zhang, Haohui and Chen, Keyu and Sun, Haocheng and Gu, Weibo and Qiao, Ruizhi and Sun, Xing and Jiang, Bo},
journal = {arXiv preprint arXiv:2609.36173},
year = {2026}
}
License
Derived on Nov 9, 2026 from Hugging Face at revision 5f54174d, README.md , config.json .