Tool Suggestions
Tencent open-sources DFly2, up to 4.2x faster long-context generation
Tencent's Hunyuan team open-sourced DFly2 on November 26 — the speculative-decoding drafter inside its Hy4 Flash model. The release includes the drafter weights, the training code in AngelSpec, and a technical report (arXiv:2611.34776, submitted November 25). Tencent says it makes long-context generation up to 4.2 times faster. The number is a peak from Tencent's own tests, not an average — but the design behind it is genuinely different from other drafters, and it is free to try.
How speculative decoding works
Large models generate one token at a time, and each step waits on the full model. Speculative decoding breaks that bottleneck: a small draft model guesses several tokens ahead, and the big model checks them all in a single pass, accepting the ones it agrees with. When the drafter guesses well, the model does several tokens' worth of work per pass. When it guesses badly, the accepted tokens fall back to one — the output never changes, only the speed.
The problem with drafters on long contexts is memory. A drafter normally keeps its own key-value cache, which grows with the context — exactly the thing that makes million-token prompts expensive. DFly2 does not keep one. It reads the target model's own sparse KV cache and the positions its sparse attention has already marked as relevant, so a draft token attends to at most about 2,048 keys no matter how long the context is. The cost of a guess stays fixed whether the input is 1,000 tokens or a million.
What Tencent claims
On Hy4 Flash, Tencent reports up to 4.2x faster generation on long-context and agentic workloads. The finer numbers: decoding up to 3.41x faster, end-to-end up to 2.17x on Hy4 Flash. On a 64,000-token coding prompt, DeepSeek-V4.1-Flash gets up to 81% more throughput. The average accepted block length is 4.06, 4.03 and 4.11 tokens on general, long-context and agentic benchmarks, against 3.35, 3.10 and 3.16 for the best baseline, DSpark.
The drafter itself is small — 0.85 billion parameters — and it ships in versions for three models: Hy4 Flash, DeepSeek-V4.1-Flash and GLM-5.3-Flash. The weights are on Hugging Face under Apache 2.0, and the training stack is Tencent's AngelSpec on GitHub. DFly2 also adds a hybrid online-offline training mode and DFly-OPD, a lightweight online-distillation method.
What is actually released
This is a full release, not an announcement. The repositories — Tencent/AngelSlim and Tencent/AngelSpec — carry the drafter weights for all three target models, the training code, and the paper. DFly2 is a companion component, not a replacement for the main model: it attaches alongside Hy4 Flash or the other targets and changes nothing about the weights or the output. It has to be deployed together with its target model; on its own it does nothing.
The honest limits
Every figure above comes from Tencent's own tests. No outside group has checked them yet. The 4.2x number is a peak on one agent benchmark, not a typical gain — on 32K to 128K-token tasks the same tests show 3.1x, and on agent tasks 3.4x. Short prompts are unmeasured: DFly2 is built for long contexts, and nobody has published how much it helps on short chat replies.
There is also a practical catch. The vLLM support the release points to is still in progress, so the drafters cannot be served out of the box yet. If you run vLLM, you will be waiting on that integration or wiring it up yourself. And the gains depend on the target model, the context length, the batch size and the GPU setup — the same drafter on a different deployment will not hit the same numbers.
Who should try it
The clearest fit is teams already serving Hy4 Flash, DeepSeek-V4.1-Flash or GLM-5.3-Flash at long contexts — document QA, repository-scale coding agents, multi-round agent traces. Those are the workloads where the KV cache is the bottleneck and where a drafter that reuses it instead of duplicating it pays off. For everyone else, DFly2 is a design to watch: speculative decoding that costs nothing extra in memory is the direction the whole field is moving, and this is the first open implementation built for natively sparse models.
Try it with your own prompts before believing the headline. The weights are free, the code is open, and the only honest benchmark is the one you run yourself.