DigestAI news desk

Cut through the AI noise.

Generative AI & Models3 min read

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.

1 source

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 →

Full story from MarkTechPost · by Asif RazzaqOpen source ↗
Topics · follow one to build your own front page

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.

Comments

via GitHub Discussions

More in Generative AI & Models

All →

Related stories