Research read

Tencent open-sources DFly2 to speed up long-context LLM inference

Tencent has released DFly2, a speculative-decoding drafter that reuses a sparse-attention model's own KV cache, with weights for DeepSeek-V4.1-Flash, GLM-5.3-Flash and Hy4 flash. It reports up to 3.4x faster decoding on agentic workloads.

AE
Aidose Editorial
Nov 28, 2026

Tencent has open-sourced DFly2, a speculative-decoding method aimed at long-context and agentic workloads on models with native sparse attention. The paper, "DFly2: Turbocharging Long-Context Speculative Decoding by Sharing the Target's Sparsity," was posted to arXiv on November 25, and the AngelSpec GitHub repository announced on November 26 that weights, training code and the technical report are released in full.

Speculative decoding uses a small drafter to propose several tokens that the large target model then verifies in one pass. DFly2 is a block-parallel drafter in which each draft layer reuses its paired target layer's KV cache and sparse position selections instead of maintaining its own. The authors report that an early selection covers close to 90% of later tokens' selections on DeepSeek-V4.1-Flash, which is what makes the sharing work.

According to the paper, DFly2 beats the stronger of the DFlash and DSpark baselines by 3.9% to 10.5% on general workloads and by 10.0% to 31.5% on long-context and agentic workloads. At high concurrency on DeepSeek-V4.1-Flash, at matched per-user decode speed, it reports 62% and 81% higher throughput on two 64K-token test sets.

The repository lists decode speedups over standard autoregressive decoding at concurrency 1 of 2.87x on a long-context set and 3.10x on an agentic set for DeepSeek-V4.1-Flash, 2.45x and 2.61x for GLM-5.3-Flash, and 3.06x and 3.41x for Tencent's Hy4 flash. End-to-end speedups are lower, between 1.22x and 2.12x. Drafter checkpoints for all three models are on Hugging Face under the AngelSlim organization.

All results are Tencent's own. The repository documents training with vLLM-based configurations rather than a complete serving setup, says prebuilt images are coming soon, and does not state a license in its README. Teams serving these open models on long agent traces should check those details before adopting it.

AE
Aidose Editorial
Nov 28, 2026 · read
Back to News