Tencent has open-sourced DFly2, a speculative decoding drafter designed to accelerate inference for sparse AI models. The tool delivers up to 4.2x speedup for agentic workloads on Tencent’s own Hy4-Flash model and increases serving throughput by up to 81% for DeepSeek-V4.1-Flash when using a 64k context.
DFly2 shares the target model’s KV cache and top-k token selection, which keeps drafting costs flat across various context lengths without requiring extra KV memory. In tests on agentic tasks, the tool performed roughly 30% faster than the same-recipe DSpark and accepted 10.4% more draft tokens than the open-source version of DSpark.
