Tencent Open-Sources DFly2, Speeding Long-Context Inference for DeepSeek and GLM Flash Models
Tencent's Hunyuan AI Infra team fully open-sourced DFly2 on November 26, releasing weights, training code and a technical report; it is a block-parallel speculative-decoding drafter for natively sparse large models.

What happened
Each DFly2 draft layer pairs with one sparse attention layer of the target model, sharing the target layer's cached KV and the top-k positions selected by its indexer, so each draft token looks at at most about 2K keys regardless of context length; the drafter keeps no KV cache of its own, does no scoring, takes no part in prefill, and adds only one final-layer hidden state to the prefill-to-decode transfer.
DFly2 supports Hy4 flash (with five DFly2 layers built in, 0.85B parameters), Hy4 (3.3B-parameter DFly2), and the newly added DeepSeek-V4.1-Flash and GLM-5.3-Flash; released weights include Hy4-flash-DFly2-B6, DS-V4.1-Flash-DFly2-B6 and GLM-5.3-Flash-DFly2-B6, and the inference frameworks vLLM and SGLang are supported, both with official prebuilt images.
The paper and repository benchmark tables give the speedups (greedy decoding, concurrency of 1, against baselines trained with the same recipe): average decoding speedups on long-context and agent tasks are 2.87x/3.10x for DeepSeek-V4.1-Flash, 2.45x/2.61x for GLM-5.3-Flash and 3.06x/3.41x for Hy4 flash; under high concurrency (64K) long-context throughput rises 62% and agent-task throughput 81%. The paper is an arXiv preprint, not peer-reviewed, and all speedup figures are Tencent's own measurements.
Key facts
- Timing: November 26, 2026, when Tencent's Hunyuan AI Infra team announced the full open-sourcing; technical report arXiv:2611.34776, submitted November 25.
- Approach: a block-parallel speculative-decoding drafter; each draft token looks at at most about 2K keys regardless of context length; it keeps no KV cache of its own and does no scoring.
- Supported models: Hy4 flash (0.85B-parameter DFly2), Hy4 (3.3B-parameter DFly2), DeepSeek-V4.1-Flash and GLM-5.3-Flash.
- Speedups: average decoding speedups of 2.45x-3.41x on long-context and agent tasks; end-to-end speedups including prefill of 1.22x-2.12x.
- Memory: with the draft cache removed, DeepSeek-V4.1-Flash fits 1.73x as many requests in the same memory at 32K context; Hy4 flash, combining megakernels, 4-bit quantization and DFly2, decodes at over 150 tokens/s.
- Licenses: training framework code uses the AngelSpec License; Hy4 flash model weights use the Tencent Hy License; the paper is a preprint, not peer-reviewed.
Why it matters
DFly2 decouples speculative-decoding draft cost from context length, lifting agent-task throughput 81% at 64K under high concurrency, with weights, training code and the technical report all released at once.
CompaniesDeepSeek·Tencent·Zhipu AI
Grab todayDataCamp Premium annual special: $132 for the first yearHIMIAO Picks →Follow HIMIAO Horizon
No sign-up · Unsubscribe any timeNotifications
A ping on your phone or computer when the brief is out. No email needed.
Comments
Related
- Nov 22Tencent Launches Hy4 flash: 224B Parameters, Only 12B Active
- Nov 20Tencent Open-Sources Hy4 Weights: 770B Parameters, Tighter Commercial Terms
- Nov 16Tencent Launches Hy4 Flash: 224B Parameters at 1/20th the Per-Task Cost
- Nov 5Tencent Hy4 vs Mistral Large 4: Open-Weight Flagships a Week Apart, One's Weights Out and the Other's Pending, Output Prices $0.401 Apart
- Nov 4Tencent Releases Full Hy4 With Vision and Computer-Use Capabilities
Today
Nov 29 Sunday- Brief
- GitHubGitHub Weekly Vol.7: 7 Projects Worth a Look This Week
Tested or read — weeklyAll →
- Quiz
- Call
Latest news
All →- Nov 29TSMC Unveils AI Design Kit, Handing Physical Chip Design to Agents
- Nov 29SAP Considers Cutting at Least 10,000 Jobs in AI Restructuring
- Nov 29Knuth Pauses Errata Reports as LLMs Flood Him With Corrections
- Nov 29Convex AI Skill Accused of Quietly Uploading Users' App Ideas; Company Says It Is by Design
- Nov 29Apple Removes Talkie Worldwide After Child-Safety Investigation
- Nov 28AI Assistant's Mistaken Rent Extension Email Preceded a North Carolina Tenant's Eviction
™