Tencent open-sources DFly2, a speculative decoder that speeds up sparse LLMs
Tencent's Hunyuan AI Infra team open-sourced DFly2, a speculative decoding drafter for natively sparse models that lifts serving throughput on DeepSeek-V4.1-Flash by up to 81% in its own tests.
Tencent open-sourced DFly2 on November 25, a speculative decoding drafter built for natively sparse large language models such as DeepSeek-V4.1-Flash, Zhipu's GLM-5.3-Flash and Tencent's own Hy4 flash. Described in an arXiv paper by the Hunyuan AI Infra team, DFly2 is a block-parallel drafter that shares the target model's sparsity: it reuses the sparse KV cache and the positions the target's sparse layers already attend to, so it needs no scoring pass and keeps no cache of its own.
In Tencent's self-reported benchmarks, DFly2 accepted more tokens per step than the existing drafters DFlash and DSpark on all three target models. Serving DeepSeek-V4.1-Flash at matched per-user decode speed, throughput rose 28% on short text, 62% on long code tasks and 81% on software-engineering tasks at 64,000 tokens of context, with end-to-end speedups up to 2.97 times. The code is on GitHub under Tencent's AngelSpec project and works with the vLLM and SGLang serving frameworks. The numbers are Tencent's own and await independent verification.
