explainx.ai350K+ learn from us
TrendingAI News TodayPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR
  • What DSpine does (in one paragraph)
  • Architecture at a glance
  • Benchmarks: acceptance length
  • Agent workloads: where the card pushes hardest
  • How to try it today
  • DSpine vs DFlash2 vs waiting for vLLM
  • What developers should verify locally
  • Command reference: full model-card serve line
  • Paper vs card: keep the baselines straight
  • Memory and hardware planning
  • Cost math sketch (illustrative)
  • When not to adopt yet
  • Research line: adjacent causal injection in plain language
  • Limitations and honesty
  • What this means for builders
  • Related reading
← Back to blog

explainx / blog

Qwen3.8-27B DSpine-b16: Tencent's Open 2B Drafter for Faster Local Inference

Qwen, Tencent, Speculative Decoding, Open Source, Inference

Part of Open-Weight Models

Tencent shipped Qwen3.8-27B-DSpine-b16 on Hugging Face: a ~2B Apache 2.0 drafter for speculative decoding with SGLang benchmarks vs DFlash2 on agents and code.

Nov 14, 2026·9 min read·Yash Thakker
add explainx.ai
go deep
Qwen3.8-27B DSpine-b16: Tencent's Open 2B Drafter for Faster Local Inference

Tencent published Qwen3.8-27B-DSpine-b16 on Hugging Face — a ~2B-parameter drafter that pairs with Qwen3.8-27B for speculative decoding in SGLang. The October DSpine paper and our earlier Qwen3-8B DSpine guide listed a 27B checkpoint as roadmap-only; that line item is now a downloadable Apache 2.0 artifact with benchmark tables on coding, chat and long agent runs.

If you self-host Qwen3.8-27B for coding agents or batch jobs, the practical question is whether a small drafter pays for its VRAM. Tencent's card answers with acceptance-length tables and end-to-end throughput on WorkBuddy-style sandboxes — numbers you should reproduce on your GPU before you trust them for production.

TL;DR

table · 2 cols
QuestionAnswer
What shipped?Five-layer DSpine drafter, block size 16, 8,192-token sliding window
Parent modelQwen/Qwen3.8-27B (separate download)
LicenseApache 2.0
Runtime citedSGLang 0.5.22, BF16, FlashAttention 3
Baseline on cardDFlash2 (block 8) vs DSpine (block 16)
Agent storyWorkBuddy Code/Web/Office, SWE-bench Pro, τ²-bench throughput up to ~3.8× AR on Office (low)
Training codeNot on the card; see Tencent/DSpine repo
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

What DSpine does (in one paragraph)

Speculative decoding trades a cheap draft model for fewer full passes through a large target. Tencent's DSpine method drafts a block of tokens in parallel but injects each position's predicted features into its neighbor at every layer — "adjacent causal injection" — so parallel guesses stay more consistent than classic parallel drafters like DFlash.

The 27B checkpoint is the same architecture family as the 8B release, scaled to a larger target backbone. For token economics background, see what tokens per second actually measures and how Baseten-style serving stacks chase wall-clock wins.

Architecture at a glance

The Tencent model card describes a five-layer draft network, block size 16, and an 8,192-token sliding window. Evaluation used SGLang 0.5.22 with BF16 weights, FlashAttention 3, concurrency 8, dynamic verification referencing DSpark with ReplaySSM enabled — details that matter if your install drifts from their stack.

Benchmarks: acceptance length

Tencent compares DFlash2 (official 8-token blocks) against DSpine (16-token blocks) on general tasks at greedy and sampled decoding:

table · 5 cols
TaskDFlash2 (T=0)DSpine (T=0)DFlash2 (T=1)DSpine (T=1)
GSM8K5.697.205.456.31
MATH-5005.496.495.275.66
HumanEval4.875.714.344.71
MBPP5.046.144.795.41
MT-Bench4.114.483.894.03

Longer accepted prefixes generally mean higher throughput when verification is cheap. These are Tencent-measured figures on their harness; your acceptance length moves with batch size, quantization and context length.

Agent workloads: where the card pushes hardest

The card's newer section targets agent trajectories, not just static benchmarks. Tencent built WorkBuddy Bench subsets (Code, Web, Office) using CodeBuddy sandbox replays: up to 32,768 new tokens per request, tool-call prefixes replayed in order, prefix caching on.

Acceptance length (low reasoning excerpt):

table · 3 cols
BenchmarkDFlash2DSpine
WorkBuddy Code4.195.08
WorkBuddy Web3.954.91
WorkBuddy Office4.245.63
SWE-bench Pro4.194.99
τ²-bench4.705.53

End-to-end throughput (tokens/s, speedup vs autoregressive in parentheses) — low reasoning:

table · 4 cols
BenchmarkARDFlash2DSpine
WorkBuddy Code253590 (2.33×)686 (2.71×)
WorkBuddy Web247640 (2.59×)773 (3.13×)
WorkBuddy Office210665 (3.17×)806 (3.84×)
SWE-bench Pro242658 (2.72×)713 (2.95×)
τ²-bench301891 (2.96×)964 (3.20×)

At xhigh reasoning the multipliers shrink slightly but stay above 2.5× on several rows. That pattern fits the intuition that long CoT traces stress verification more than short chat turns — similar to how SparseRead-style context trimming attacks cost on the input side while drafters attack cost on the output side.

A branching checkpoint stem illustrating a new open-weight drafter release for Qwen3.8-27B speculative decodingA branching checkpoint stem illustrating a new open-weight drafter release for Qwen3.8-27B speculative decoding

How to try it today

  1. Clone and install Tencent/DSpine (pip install -e .).
  2. Download Qwen/Qwen3.8-27B and tencent/Qwen3.8-27B-DSpine-b16 (about 4,873 downloads in the last month on the card when we read it).
  3. Launch SGLang with the card's full flag set — notably DSPINE, 16 draft tokens, fa3 attention backends, qwen3 reasoning and tool parsers, and --enable-linear-replayssm-spec.
bash
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 \
  --enable-linear-replayssm-spec

VRAM planning: you hold both models. On a single GPU that often means quantization on the 27B parent, tensor parallel, or a second GPU for drafts — the same trade space as GLM-5.3 two-station vLLM setups at a smaller scale.

Pair this with llama.cpp v1.0 stability work if you split local vs server paths: DSpine's documented path here is SGLang-first, not llama.cpp.

DSpine vs DFlash2 vs waiting for vLLM

table · 2 cols
PathWhen it fits
DSpine + SGLangYou already serve Qwen with SGLang; you want the card's exact algorithm flags
DFlash2You want Tencent's prior parallel drafter baseline on the same parent
Nvidia DFlash 2 on Muse SparkDifferent ecosystem — see Nvidia's vLLM speculative recipe
No drafterSimplicity wins when latency targets are already met

The Hugging Face card credits DFlash, SpecForge, SGLang and FlashInfer — useful breadcrumbs if you debug kernel mismatches.

What developers should verify locally

The model card's Hacker News thread (when we checked) had no substantive hands-on comments yet — early release noise only. Until community runs land:

  1. Match SGLang version (0.5.22 cited).
  2. Compare AR vs DSpine on your agent prompt mix, not only Tencent's benches.
  3. Watch tool-call integrity; speculative stacks can interact badly with parsers if drafts desynchronize mid-trajectory.
  4. Track memory: ReplaySSM and mamba cache flags change footprint.

Command reference: full model-card serve line

Tencent's card is unusually explicit about flags because DSpine touches linear attention, mamba radix cache, and FlashInfer sampling in one stack. Missing one flag often silently disables the path you thought you enabled.

table · 2 cols
FlagRole
--speculative-algorithm DSPINESelects adjacent-injection drafting
--speculative-num-draft-tokens 16Matches b16 block training
--enable-linear-replayssm-specTurns on ReplaySSM path cited in eval
--linear-attn-backend tritonLinear attention kernel choice
--mamba-ssm-dtype float32Stability for SSM state
--mamba-radix-cache-strategy extra_bufferCache strategy for speculative tree
--max-mamba-cache-size 64Caps SSM cache footprint
--reasoning-parser qwen3Parses Qwen3 reasoning channels
--tool-call-parser qwen3_coderAligns tool traces with parent

If you already run Qwen3.8-27B on SGLang without speculation, diff your script against this table before blaming the drafter for slowdowns.

Paper vs card: keep the baselines straight

The arXiv paper established DSpine against DFlash on smaller Qwen3 checkpoints with different acceptance-length math than this 27B card. Our October Qwen3-8B post explains why 27.8% vs DFlash and ~4% vs retrained DFlash2 can both appear in Tencent materials without contradiction.

On the 27B card, the meaningful comparison is DFlash2 vs DSpine under the same Open-PerfectBlend retraining story for general benchmarks, plus the agent replay suite. Do not import 8B paper headlines into a 27B procurement slide without re-benchmarking.

Memory and hardware planning

Rough planning questions for a single host:

table · 2 cols
ComponentPlanning question
27B parent BF16Does it fit beside a 2B drafter on one 48GB card, or do you quantize the parent?
Concurrent requestsCard uses concurrency 8 — scaling users may need tensor parallel on the parent
Context 131072Long agent runs need the card's context-length flag, not defaults
ReplaySSM / mamba cacheExtra state beyond vanilla KV — watch OOM when enabling speculation

Teams already splitting parents across GPUs for tensor-parallel GLM jobs can treat the drafter as a small satellite model pinned to the least-loaded device.

Cost math sketch (illustrative)

Suppose autoregressive decoding costs you $X per million output tokens on rented H100 time. A 2.7× throughput gain on WorkBuddy Code (low) — one row from the card — suggests the same wall-clock budget produces 2.7× more tokens if verification overhead stays stable.

That is not automatic savings:

  • Draft model VRAM may force a second GPU or a smaller parent batch.
  • Failed speculative paths add wasted draft FLOPs.
  • Agent traces with tools may spend more time in CPU sandbox than in matmul.

Still, for high-volume Rainshare-style quota sharing or internal codegen fleets, a verified 2×+ speedup on Qwen is worth a weekend bake-off.

When not to adopt yet

Skip the upgrade path if:

  • You are on vLLM-only serving with no SGLang appetite.
  • Your workload is mostly embedding or rerank, not long generation.
  • You need bit-identical replay against a non-speculative baseline for compliance.
  • You cannot spare engineering time to pin SGLang 0.5.22 and the DSpine commit.

In those cases, watch the checkpoint for community reports rather than rushing production.

Research line: adjacent causal injection in plain language

Parallel drafters guess many tokens at once, but guesses at position k often ignore what position k-1 already committed at early layers. DSpine routes predecessor features forward through depth so that by the time the block exits, later positions have seen a causal chain without serial token steps.

That is why Tencent pairs the method with dynamic verification referencing DSpark on the card — verification and drafting co-evolved in their stack. Readers digging into kernels should start at github.com/Tencent/DSpine rather than treating the Hugging Face repo as the whole system.

Limitations and honesty

  • Training code for custom drafters is still a moving target on the GitHub README.
  • Benchmarks are author-run; we have not reproduced the 3.8× Office throughput claim.
  • Qwen3.8-27B parent weights are a separate download and license check from the drafter.
  • Block size 16 may not be optimal on every GPU class; treat 16 as the card default, not a universal law.

What this means for builders

Tencent is shipping open drafters on the same cadence as Qwen3.8 parents, which keeps pressure on closed APIs for cost per agent step. If DSpine's agent tables hold up in the wild, teams running self-hosted coding harnesses on Qwen gain another knob besides quantization and batching.

The near-term homework is boring and valuable: one benchmark script, one production-like trace, one cost line before you flip a fleet.

Related reading

  • Tencent DSpine on Qwen3-8B (October launch)
  • Qwen3.8-Max open weights context
  • Tokens per second explainer
  • SGLang ecosystem notes
  • SparseRead for agent context cost
  • Chrome DevTools MCP and local agent stacks

Model card metrics and SGLang flags are accurate as of November 14, 2026. Re-check Hugging Face and github.com/Tencent/DSpine before you deploy.

Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Oct 16, 2026

Tencent DSpine: A Parallel Drafter That Beats DFlash on Qwen3-8B

Tencent put DSpine, a parallel speculative-decoding drafter, on Hugging Face with inference code, an arXiv paper and an SGLang recipe. It reports longer accepted runs and 23% more throughput than DFlash on Qwen3-8B. Here is how it works, how to try it, and which numbers to treat with care.

Oct 22, 2026

EAGLE-4: One Flexible Speculative Drafter, 3.59x Faster Qwen3.8-27B on B300

The EAGLE team released EAGLE-4, a source-available speculative-decoding system whose single drafter adapts to batch size, hardware and workload. On Qwen3.8-27B with four B300 GPUs, the model card reports 3.59x at temperature 0, ahead of DFlash 2 and MTP.

Oct 5, 2026

Strata Runs Qwen3.8-Flash-Next 125B on a 12 GB Gaming GPU: Speed vs Quality

Strata, an MIT-licensed open-source engine, claims to run the 125B-parameter Qwen3.8-Flash-Next on a normal gaming PC with 12 GB of VRAM and 32-64 GB of RAM, at 44-124 tokens per second. A 617-point Hacker News thread tested the claim. Here is the setup, the speed table, the quant guide, and the honest quality caveats.