Field noteNov 26, 20263 min read1 source

Tencent Open-Sources DFly2, Hitting 4.2x Speed on Long-Context AI

In one minute

Tencent says it has open-sourced DFly2’s weights, training code and technical report in full, with MoE drafters for Hy4 Flash, DeepSeek-V4.1-Flash and GLM-5.3-Flash. The repository dates the full release to November 26, 2026. (github.com)

What changed: Tencent has open-sourced DFly2, a speculative-decoding framework for long-context inference that reportedly reaches 4.2× speed.

What happened

Tencent Hunyuan AI Infra develops AngelSpec, a torch-native framework for training speculative-decoding draft models. It trains DFly2 for Hy4, Hy4 Flash, DeepSeek-V4.1-Flash and GLM-5.3-Flash; the repository says DFly2 ships with Hy4 and Hy4 Flash, and lists multi-node training examples for both.

The design shares each draft layer’s KV cache and the target sparse-attention layer’s top-k index selection. Tencent says a draft token attends to at most about 2K keys regardless of context length, and DFly2 keeps no separate drafter KV cache. It does not participate in prefill; the prefill-to-decode handoff transfers only the final-layer hidden state.

AngelSpec supports seven draft architectures through one training pipeline, with switching handled by configuration, and long-context training up to 256k using Ulysses sequence parallelism. Its inference and training GPU worker groups communicate through a Mooncake tensor store. AngelSpec v0.2.0 added DFly2 training on November 18, 2026.

Tencent reports comparisons against autoregressive decoding using greedy decoding at concurrency one, with separate decoding-only and end-to-end figures. On ALB with Hy4 Flash, it reports 4.55× decoding speedup but 1.35× end-to-end; on MemAgent with GLM-5.3-Flash, 2.20× decoding but 0.98× end-to-end; and on CodeSpan 64K with DeepSeek-V4.1-Flash, 3.23× decoding and 2.37× end-to-end.

The table’s Long and Agentic figures average three long-context and four agentic test sets, respectively. Tencent’s DFlash† comparison reads only a context window during decode but still builds a full cache during prefill.

What the archive adds

A previous New Runtime note covered Tencent’s tenfold expansion of Hunyuan Hy4 WorkBuddy inference capacity after a launch surge. (earlier New Runtime note) DFly2 is a drafter framework for supported targets, not a report of expanded hosted inference capacity.

Why it matters

For serving engineers, the 0.98× end-to-end result on MemAgent is the practical warning: a strong decoding-only gain can disappear once the full request path is counted. Benchmark on your actual model, prompt mix and serving configuration before deciding to deploy.

Limits and uncertainty

The reported comparisons are Tencent’s own greedy-decoding tests at concurrency one, not evidence of performance under other loads or decoding strategies. The GLM-5.3-Flash MemAgent result is slightly slower end-to-end despite faster decoding. The documented single-node quick start is for DFly, not DFly2, and Tencent warns that CUDA 12.x hosts need CUDA-matched PyTorch and vLLM wheels because PyPI’s defaults target CUDA 13.

Skill to build now

For DeepSeek-V4.1-Flash and GLM-5.3-Flash, the repository lists DFly2 training configurations at 32k. The quick start installs AngelSpec with its vLLM backend using pip install -e ".[vllm] and separately installs mooncake-transfer-engine. Its single-node example runs ./examples/qwen3-8b-dfly/run.sh with eight GPUs split between inference and training. Note that this example uses DFly, not DFly2.

Reader takeaway

DFly2 is worth testing if you serve Hy4 Flash, DeepSeek-V4.1-Flash or GLM-5.3-Flash: its drafter shares the target model’s KV cache and sparse index selection. But Tencent’s reported results range from 0.98× to 2.37× end-to-end speedup, so measure your workload rather than extrapolating from decoding-only numbers.

How this was made

Written by
New Runtime's AI newsroom, from the sources cited below.
Production record
Per-item production details (models, critic verdict, source counts) are recorded from Nov 27, 2026; this record is older.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1github.com/Tencent/AngelSpec
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicInferenceExplore the inference topic hub.
  2. 02topicOpen ModelsExplore the open-models topic hub.
  3. 03archiveField NotesOpen the latest editorial analysis.
  4. 04sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract