Tencent open-sources DFly2, a speculative decoder that borrows the target model's cache

Tencent's Hunyuan AI infrastructure team has open-sourced DFly2, a speculative decoding drafter that keeps no KV cache of its own and instead reuses the target model's sparse KV cache. The 0.85-billion-parameter drafter lifts throughput by up to 81% on DeepSeek-V4.1-Flash at 64K context, with end-to-end speedups of up to 2.97x; weights, training code and a technical report are all public.
Tencent's Hunyuan AI infrastructure team open-sourced DFly2 on November 26, a speculative decoding drafter built for natively sparse large language models. Unlike conventional designs, DFly2 keeps no KV cache of its own: it borrows the target model's sparse KV cache directly, letting long-context and agentic serving fit more concurrent requests into the same memory. Weights, training code and a technical report are public, covering DeepSeek-V4.1-Flash, GLM-5.3-Flash and Tencent's own Hy4 Flash.
No cache of its own: borrowing the target's sparse state
Speculative decoding works by having a small drafter guess several tokens ahead, which the target model then verifies in a single pass, keeping the output lossless. The problem at long context is that the drafter usually maintains its own KV cache for the whole prefix, competing with concurrent requests for memory. DFly2 pairs each of its five draft layers with one sparse attention layer of the target, sharing that layer's latent KV cache and its top-k indexer selections — so each draft token attends to at most about 2,048 keys no matter how long the context is, and the prefill step can be skipped.
In numbers, a conventional three-layer drafter cache would add 3.4 KiB per token on top of DeepSeek-V4.1-Flash's 4.4 KiB target KV, inflating the total by 1.76 times. Removing the drafter cache lets the same memory pool hold 1.73 times as many requests at 32K context.
Test figures: throughput up as much as 81%
On DeepSeek-V4.1-Flash, throughput on 64K software-engineering prompts rises by up to 81%. End-to-end speedups are 2.97x on DeepSeek-V4.1-Flash, 2.36x on GLM-5.3-Flash and 3.19x on Hy4 Flash, with peak generation speed on Hy4 Flash's long-context and agentic workloads reaching 4.2x. Average accepted length on DeepSeek-V4.1-Flash is 4.12, against 3.81 for the DSpark baseline. All figures are Tencent's own test results and have not been independently verified; the 4.2x figure is a peak on a single agent benchmark, not an average gain.
(Sources: MarkTechPost, i10X, DigestX, Tencent technical report arXiv:2611.34776)
N環球 
💬 Comments
No comments yet. Be the first!