Tencent Open-Sources DFly2: A Speculative Decoding Drafter That Reuses the Target Model's Sparse KV Cache
Tencent has open-sourced DFly2, a speculative decoding drafter purpose-built for natively sparse LLMs. DFly2 targets models such as DeepSeek-V4.1-Flash, GLM-5.3-Flash, and Tencent's own Hy4 flash. Its defining design choice is that the drafter keeps no KV cache of its own—a decision with significant implications for long-context and agentic serving, where draft memory would otherwise compete directly with concurrency.
TL;DR
- Size: A 0.85B-parameter, 5-layer drafter shipped alongside Hy4 flash.
- Runs on: Serving tests used NVIDIA H20 GPUs with vLLM in TP8 configuration per instance. The Hy4 flash vLLM recipe defaults to 8x H200.
- Performance: Achieves higher draft acceptance than same-recipe DFlash and DSpark across all three target models and all general benchmarks.
- Best case: Up to 81% higher throughput on DeepSeek-V4.1-Flash (SWE 64K) at matched per-user speed.
- Worst case: The smallest gain appears on Hy4 flash general tasks—only 3.9% over DSpark at temperature 0.
What Is DFly2?
DFly2 is a block-parallel speculative decoding drafter developed by Tencent's Hunyuan AI Infra team. It is detailed in the research paper "DFly2: Turbocharging Long-Context..." (arXiv:2611.34776).
Rather than maintaining its own KV cache, the drafter reuses the target model's sparse KV cache, which keeps memory overhead low and preserves serving concurrency for long-context and agentic workloads.
via MarkTechPost
