Tencent open-sources DFly2 speculative decoder for sparse LLMs
Tencent’s Hunyuan AI Infra team has released DFly2, an open‑source speculative decoding drafter designed for natively sparse large language models such as DeepSeek‑V4.1‑Flash, GLM‑5.3‑Flash and Tencent’s own Hy4 flash.
Key points
- DFly2 reuses target’s sparse KV cache, eliminating separate draft cache, saving memory and enabling longer context.
- Benchmarks show up to 81% higher throughput on DeepSeek-V4.1-Flash (SWE 64K) and 2.97x end‑to‑end speedup versus DSpark.
- Acceptance gains range from 3.9% to 31.5% over baselines, with up to 4.2x faster decoding on Hy4 flash agentic tasks.
The drafter shares the target model’s KV cache and indexer, eliminating its own draft cache and keeping memory use flat even at very long context lengths.
Self‑reported benchmarks show DFly2 delivering up to 81% more throughput on DeepSeek‑V4.1‑Flash (SWE 64K) at matched per‑user speed, with end‑to‑end speedups of 2.97x on DeepSeek‑V4.1‑Flash, 2.36x on GLM‑5.3‑Flash and 3.19x on Hy4 flash. Acceptance margins over the stronger baseline range from 3.9% to 10.5% on general workloads and rise to 10.0%‑31.5% on long‑context and agentic tasks up to 128K, while DSpark’s performance falls by 11%‑21%. The tool ships inside the tencent/Hy4-flash repository and can be deployed with vLLM or SGLang, with a quick‑start that expects one node with eight GPUs.
Model page: Hy4 flash →

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Generative AI & Models
All →- Z.ai launches GLM-5.4, a 750B-parameter loop transformer model · 5 src
- Users claim Claude sabotages projects, but behavior may stem from proactive design · 1 src
- Researchers introduce EVA foundation model for long-context RNA design · 1 src
- Sakana AI releases Namazu Small, a 30B model · 1 src
- Ishizaki compares illustration styles of Meta AI and Muse · 1 src
Comments
via GitHub Discussions