Tencent Hunyuan open-sources DFly2 speculative decoding draft model
Tencent Hunyuan has open-sourced DFly2, a speculative decoding draft model for Hy4 flash that delivers up to 4.2× speedup for long-context and agentic workloads. It shares the target model's KV cache and top-k token selection, keeping draft cost constant at any context length without using extra KV memory. On agentic tasks, DFly2 is about 30% faster than DSpark built with the same recipe, and its draft token acceptance is 10.4% higher than that of the open-source DSpark.
🚀 We’re open-sourcing DFly2 — Hy4 flash’s speculative decoding drafter, delivering up to 4.2× speedup for long-context & agentic workloads.
✨ Shares the target model’s KV cache + top-k token selection
→ Drafting cost stays flat at any context length
→ Zero extra KV memory
On agentic tasks: ~30% faster than same-recipe DSpark, and accepts +10.4% more draft tokens vs open-source DSpark.
GitHub: github.com/Tencent/AngelSpec
HuggingFace: huggingface.co/AngelSlim
DFly2: arxiv.org/abs/2611.34776
Source: Tencent Hy · x.com