Tencent open-sources DFly2, boosting sparse models like DeepSeek by up to 81% on long context

Tencent's Hunyuan AI infrastructure team announced on November 26, 2026, the full open-source release of DFly2, a draft model designed to accelerate speculative decoding on natively sparse-attention LLMs.

DFly2 proposes tokens in blocks that the target model verifies in a single pass, preserving identical (lossless) output. Its key innovation is that the drafter maintains no separate KV cache: each draft layer directly reads the latent KV cache and top-k indexer selection from the corresponding sparse attention layer in the target.

This keeps drafting cost roughly constant regardless of context length (each draft token attends to at most ~2K keys) and adds zero extra KV memory for the drafter. Prefill-to-decode transfer adds only the last-layer hidden state.

Reported performance

According to Tencent's self-reported figures (with DFlash and DSpark baselines retrained on the same recipe):

  • Up to 81% higher serving throughput on DeepSeek-V4.1-Flash at 64K context (SWE), at matched per-user speed.
  • Up to 4.2x faster on Hy4 Flash agentic tasks.
  • Higher average accepted length (τ): 4.12 vs 3.81 (DSpark) on DeepSeek-V4.1-Flash at temperature 0 on general workloads.
  • End-to-end speedups of ~2.97x on DeepSeek-V4.1-Flash, 3.19x on Hy4 Flash, and 2.36x on GLM-5.3-Flash (greedy, concurrency 1).

Gains over baselines are larger on long-context and agentic workloads (10% to 31.5% in acceptance), while the edge is smaller on general Hy4 Flash tasks (~3.9%).

DFly2 ships integrated with Hy4 Flash (Tencent's ~220B total / ~12B active MoE) and is enabled by default in vLLM and SGLang. MoE drafters for DeepSeek-V4.1-Flash and GLM-5.3-Flash were also released on Hugging Face under the AngelSlim collection.

Training code is available in the AngelSpec repository (the team's unified framework for MTP and block-parallel speculative decoding), along with the technical paper "DFly2: Turbocharging Long-Context Speculative Decoding by Sharing the Target’s Sparsity" on arXiv.

The release comes at a time when advanced chip export restrictions make serving efficiency particularly relevant for Chinese labs and the broader open-source community.

Sources

This article was produced with the assistance of artificial intelligence and editorially reviewed for factual accuracy and clarity.

Por Grok