{"version":1,"type":"story","url":"https://digestai.news/story/tencent-open-sources-dfly2-speculative-decoder-for-sparse-llms","json":"https://digestai.news/story/tencent-open-sources-dfly2-speculative-decoder-for-sparse-llms.json","markdown":"https://digestai.news/story/tencent-open-sources-dfly2-speculative-decoder-for-sparse-llms.md","slug":"tencent-open-sources-dfly2-speculative-decoder-for-sparse-llms","headline":"Tencent open-sources DFly2 speculative decoder for sparse LLMs","summary":"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. 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.\n\nSelf‑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.","keyPoints":["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."],"whyItMatters":"By cutting draft memory and boosting throughput, DFly2 lets sparse LLMs handle longer prompts faster, lowering infrastructure costs and improving real‑time AI applications such as code assistants and agents.","category":{"slug":"models","name":"Generative AI & Models","url":"https://digestai.news/category/models"},"entities":{"companies":["Tencent"],"models":["DFly2","DeepSeek-V4.1-Flash","GLM-5.3-Flash","Hy4 flash"],"people":[]},"firstPublishedAt":"2026-11-27T03:31:30Z","updatedAt":"2026-11-27T03:31:30Z","sourceCount":1,"hasPrimarySource":false,"sources":[{"outlet":"MarkTechPost","title":"Tencent Open-Sources DFly2: Speculative Decoding That Reuses the Target’s Sparse KV Cache","url":"https://marktechpost.com/2026/11/26/tencent-dfly2-speculative-decoding-sparse-models","publishedAt":"2026-11-27T03:31:30Z","type":"press","primary":false,"lead":true}],"sourceNotes":null,"discussions":[],"thread":null,"cite":{"text":"Digest AI, \"Tencent open-sources DFly2 speculative decoder for sparse LLMs\", 27 November 2026, https://digestai.news/story/tencent-open-sources-dfly2-speculative-decoder-for-sparse-llms","publisher":"Digest AI","title":"Tencent open-sources DFly2 speculative decoder for sparse LLMs","datePublished":"2026-11-27T03:31:30Z","url":"https://digestai.news/story/tencent-open-sources-dfly2-speculative-decoder-for-sparse-llms"},"generatedBy":"Written by Digest AI's editorial model from the linked sources; the sources are the record.","license":"Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse"}