AIINEWS

AIINEWS

Global intelligence on artificial intelligence and computing

Tencent Open-Sources DFly2 Speculative Decoding Framework

AIINEWS Editorial Board•git-repos
27 November, 2026•1 min read
Tencent Open-Sources DFly2 Speculative Decoding Framework

Executive Briefing

“Tencent has open-sourced DFly2, a speculative decoding drafter built for natively sparse...”

Key Takeaways

  • 1.DFly2 keeps no KV cache of its own, allowing each draft layer to read the paired target layer's latent KV cache.
  • 2.DFly2 pairs each draft layer with one sparse attention layer in the target and shares the selected top-k positional indices.
  • 3.At a context length of 32K, removing the draft cache allows the same memory pool to hold 1.73x as many requests.

Tencent has open-sourced DFly2, a speculative decoding drafter built for natively sparse large language models. The system eliminates the separate draft KV cache to boost long-context serving throughput.

Architecture and KV Cache Sharing Mechanics

DFly2 keeps no KV cache of its own, allowing each draft layer to read the paired target layer's latent KV cache.

DFly2 pairs each draft layer with one sparse attention layer in the target and shares the selected top-k positional indices.

At a context length of 32K, removing the draft cache allows the same memory pool to hold 1.73x as many requests.

Performance Benchmarks and Throughput Gains

Sharing latent KV caches and sparsity indices directly targets memory bandwidth bottlenecks during long-context generation, significantly improving concurrent serving efficiency.

While throughput gains reach high percentages on extended coding benchmarks, performance improvements on standard general tasks remain comparatively modest.

Deployment Options and Current Limitations

All performance benchmarks are self-reported by Tencent without independent third-party verification across diverse production environments.

Compatibility is currently demonstrated primarily on specific natively sparse target architectures such as DeepSeek-V4.1-Flash, GLM-5.3-Flash, and Hy4 flash.

Independently verified, edited, and published by AIINEWS Editorial Board
3-tier verified
Editorial standards
Share this intelligence report:
Expanded Perspectives & Intelligence

Related Dispatches & Deep Dives

Curated 8 specialized reports

Explore AIINEWS Intelligence Vault

Over 2,000 in-depth dispatches structured across 18 specialized tech & AI categories.

Browse all 18 categories