Research read

Tencent open-sources DFly2 speculative decoder for sparse models

Tencent has released weights, training code and a technical report for DFly2, a speculative-decoding drafter that reads directly from the target model's sparse KV cache. It claims up to 81% higher serving throughput on DeepSeek-V4.1-Flash at 64K context.

AE
Aidose Editorial
Nov 29, 2026

Tencent has fully open-sourced DFly2, a speculative-decoding drafter designed for sparse-attention language models, releasing weights, training code and a technical report on November 26, 2026. The code lives in Tencent's AngelSpec repository on GitHub, with drafter weights published on Hugging Face under the AngelSlim organisation.

DFly2 is the drafter that ships with Tencent's Hy4 and Hy4 flash models, and the release adds drafters for DeepSeek-V4.1-Flash and GLM-5.3-Flash. Its design reuses the target model's own state: each draft layer reads directly from the target's sparse KV cache and its indexer's top-k token selection. According to Tencent, that removes the need for a separate prefill, adds no extra KV memory, and keeps drafting cost constant regardless of context length.

In its announcement, Tencent said DFly2 raises serving throughput on DeepSeek-V4.1-Flash by up to 81% at 64K context and runs up to 4.2x faster on Hy4 flash agentic tasks. It also claims DFly2 beats a same-recipe DSpark drafter by about 30% and accepts 10.4% more draft tokens than open-source DSpark.

The repository's benchmark tables, measured with greedy decoding at concurrency 1, report decoding speedups on the LongSpec 32K benchmark of 2.44x for DeepSeek-V4.1-Flash, 2.14x for GLM-5.3-Flash and 2.47x for Hy4 flash, with end-to-end speedups between 1.75x and 2.17x. The example configurations target vLLM, and the setup scripts also support SGLang.

For teams self-hosting long-context sparse models, the constant drafting cost is the notable property: conventional draft models grow more expensive as context lengthens, which erodes speculative-decoding gains on exactly the long agentic workloads where latency matters most. The repository's license file is linked from the README but the license type is not named there, so teams should check it before production use.

AE
Aidose Editorial
Nov 29, 2026 · read
Back to News