SpecForge v0.3 Unifies Speculative Decoding Training
If you serve large language models at scale, you have probably thought about speculative decoding. It’s the technique where a small draft model predicts several tokens, then the large target model verifies them in one forward pass. When it works, you get 2-4x throughput improvement without changing model quality. The catch has always been the same: training the draft model is a mess of incompatible frameworks, brittle configs, and unmaintained codebases that break when you upgrade your inference engine. It’s the worst kind of infrastructure problem — the idea is proven, the implementation is not.
SpecForge v0.3.0 changes that. Released by the SGLang team at LMSYS, it unifies six speculative decoding methods under a single typed training entry point — specforge train --config — with first-class SGLang serving integration. Alongside it, SpecBundle phase 2 ships new production-grade draft models that hit higher acceptance rates than existing open-source checkpoints across coding, chat, and reasoning domains.
Six Methods, One Entry Point
Before SpecForge, training a draft model meant choosing a method-specific codebase with its own dependencies, config format, and serving path. EAGLE used one repo, Medusa used another, DFlash used a third. None of them talked to each other, and porting a trained draft model to your production serving stack was an exercise in debugging shape mismatches and serialization bugs.
SpecForge v0.3 supports six methods, all through the same CLI:
| Method | Approach | Training Mode | Optimization |
|---|---|---|---|
| EAGLE3 | Feature-based autoregressive drafting | Online + Offline + Disaggregated | LK loss |
| P-EAGLE | Parallel EAGLE drafting | Online | — |
| EAGLE3.1 | EAGLE3 with attention drift | Online | — |
| DFlash | Block-parallel drafting | Online + Disaggregated | D-PACE loss |
| Domino | DFlash with GRU logit correction | Online + Disaggregated | — |
| DSpark | Confidence-Scheduled Semi-Autoregressive | Disaggregated | — |
The key architectural decision is that the trainer topology is declared in config, not scripted. The deployment.trainer field self-launches trainer data-parallel groups and method-specific process groups. A single-node disaggregated config also supervises its SpecForge producer and consumer. Mooncake and SGLang stay as externally managed services. Online target parallelism belongs to SGLang, not SpecForge. There are no method-specific Python entry points — one specforge train with one YAML config.
This matters because it means you can switch from EAGLE3 to DFlash by changing one line in a config file, not by learning a new codebase. For teams evaluating speculative decoding, that’s the difference between a day of experimentation and a week of integration.
SpecBundle Phase 2
SpecBundle is the model side of the equation — pre-trained draft models that you can drop into SGLang and get a speedup immediately. Phase 1 shipped EAGLE3 drafts for Llama and Qwen. Phase 2, released alongside v0.3, expands to:
- DSpark drafts for Qwen3 and DeepSeek architectures, including day-zero support for RadixArk’s Inkling and Kimi-K3
- Domino drafts with GRU-based logit correction, which consistently beats vanilla DFlash on code generation tasks
- EAGLE3.1 drafts that use attention drift to maintain quality on long-context workloads where standard EAGLE3 acceptance rates degrade
The team reports up to 4x inference speedup with SGLang serving, measured on A100 and H100 nodes. That’s consistent with what you’d expect from a well-tuned speculative decoding setup — 2.5-4x is the typical range — and the key claim is not the number but the reliability. Phase 1 drafts had acceptance rate variance across domains. Phase 2 narrows that gap with better training recipes and domain-specific calibration.
Disaggregated Training
The biggest architectural change in v0.3 is full disaggregation of training and inference during online training. In v0.2, the draft model trainer and the target model inference server ran on the same GPUs. That meant you were either training or serving, not both, and switching between them required reallocation.
v0.3 separates the two. The trainer runs on one set of GPUs. The target model (SGLang) runs on another. SpecForge manages the communication between them — sending draft model outputs to the target for verification, receiving acceptance signals back, computing the loss, and updating the draft model weights. The train and serve clusters don’t share memory or GPUs; they communicate through SpecForge’s producer-consumer protocol.
This matters for two reasons. First, you can train draft models continuously on production traffic without degrading serving performance. Second, the draft model sees exactly the same target model distribution that production traffic sees, which means acceptance rates measured during training are predictive of production acceptance rates. No offline-over-online mismatch.
DSpark: Confidence-Scheduled Generation
DSpark is new in v0.3 and worth understanding because it takes a fundamentally different approach from EAGLE and DFlash. EAGLE generates draft tokens autoregressively — one at a time, each conditioned on the previous. DFlash generates them in parallel blocks. DSpark generates them semi-autoregressively with confidence scheduling.
Here’s how it works: DSpark predicts multiple tokens at once but also predicts a confidence score for each. High-confidence tokens are accepted as-is. Low-confidence tokens are regenerated autoregressively. The scheduler dynamically adjusts the parallelism based on how confident the model is at each position. On coding tasks with predictable structure (function signatures, import blocks, boilerplate), DSpark generates 4-6 tokens per step. On creative writing with high entropy, it drops to 1-2.
The Day 0 support for Inkling and Kimi-K3 suggests the SGLang team sees DSpark as the next evolution beyond EAGLE3. The confidence-scheduled approach is closer to how the target model would naturally generate — some tokens are easy, some are hard — and the draft model should reflect that rather than forcing a fixed block size.
In benchmarks included with the v0.3 release, DSpark matches EAGLE3’s quality on coding tasks while generating 30% fewer verification calls, because the confidence scheduler skips verification for tokens above a threshold. That translates directly to latency savings, particularly on batched workloads where verification is the bottleneck.
What’s Actually New in v0.3
The changelog tells the story of a project hitting production maturity:
- DSpark online training for DFlash draft models
- Full training-inference disaggregation so draft training and target serving use separate GPU clusters
- Domino online training with GRU logit correction for DFlash drafts
- D-PACE loss as an optional training objective for DFlash — it’s a pairwise acceptance consistency estimator that improves acceptance rates without changing the draft model architecture
- SpecBundle phase 2 with 28 new draft model checkpoints on Hugging Face
The project has grown from a research prototype to a production tool in roughly 12 months. 749 commits. 1k GitHub stars. Formal infrastructure partnership with Voltage Park, who provided the GPU cluster that trained the Phase 2 models. Corporate contributions from Meituan, NVIDIA, and Google. The ICML 2026 paper lays out the architecture in detail, but the real signal is the commit velocity — the team has been shipping a major feature every 4-6 weeks since the initial release in July 2025.
Who Should Adopt This
If you run an SGLang serving cluster and your workload involves long generations (code, chat, reasoning), speculative decoding with SpecForge is probably the highest-ROI optimization you can make. A 2-3x throughput improvement on existing hardware, with no model quality degradation, at the cost of training a small draft model. The SpecBundle checkpoints mean you might not even need to train — you can try a pre-built draft first. Download the checkpoint, add three lines to your SGLang launch command, and measure.
The economic case is straightforward. If you spend $100k/month on GPU compute for LLM serving, a 2x throughput improvement from speculative decoding means you’re effectively getting the same capacity for $50k/month. Even accounting for the draft model’s GPU cost (typically 10-15% of the target model), that’s a $40k/month savings. For any team running at scale, that more than justifies the engineering time to set it up.
If you’re evaluating inference engines and throughput matters, the SpecForge + SGLang combination is now the most mature open-source speculative decoding stack. vLLM has speculative decoding support but its draft model ecosystem is less developed. TensorRT-LLM has it but only for NVIDIA’s ecosystem. SpecForge is engine-specific (SGLang) but method-agnostic, which is the right tradeoff if you’re already using SGLang.
Who Should Wait
If you don’t use SGLang, SpecForge is not useful to you. The entire framework is built around SGLang’s serving architecture — the draft model format, the verification protocol, the disaggregated training topology are all SGLang-specific. The team has said they’d like to support other engines but there’s no timeline.
If your workload is latency-sensitive with small batch sizes, speculative decoding might not help. The technique shines at high throughput where the cost of running the draft model is amortized across many concurrent requests. At batch size 1, the draft model adds latency for verification that often cancels out the speedup.
If you need a draft model for a niche architecture that SpecBundle doesn’t cover, you will need to train your own. The training pipeline is well-documented but non-trivial — it requires a GPU cluster, carefully curated training data, and hyperparameter tuning. The team recommends starting with an existing SpecBundle checkpoint and fine-tuning rather than training from scratch. In my experience, fine-tuning a pre-built EAGLE3 draft on domain-specific data takes about 2-4 hours on 4xA100s and yields better acceptance rates than training from scratch on a smaller budget.
The Bigger Picture
Speculative decoding is settling into a standard pattern: small draft model, big target model, rejection sampling to guarantee correctness. The innovation is shifting from the core algorithm to the ecosystem around it — training infrastructure, model distribution, engine integration. SpecForge is the first project to treat speculative decoding as a product rather than a paper.
The unified training entry point is the right abstraction. Six methods, one CLI, one config format. That’s how infrastructure should work. The disaggregated training means you can iterate on draft models in production without taking down your serving stack. The SpecBundle checkpoints mean you don’t need a research team to benefit from the technique.
I think we will look back and see v0.3 as the release where speculative decoding stopped being a research topic and became an engineering decision. If you run LLMs at scale and haven’t tried it yet, the barrier to entry just dropped significantly. The pre-built checkpoints, the single-command training, and the production disaggregation story make this the first time speculative decoding feels like infrastructure rather than a paper with a GitHub repo attached.
SpecForge is available on GitHub under MIT license. SpecBundle checkpoints are on Hugging Face. Documentation at docs.sglang.ai/SpecForge.