The Hunyuan AI Infra team at Tencent has open-sourced DFly2, a block-parallel drafter for speculative decoding that works with Hy4, Hy4 flash, DeepSeek-V4.1-Flash, and GLM-5.3-Flash models. The core idea is "sparsity sharing": the draft model reads the target model's KV cache and accesses only the positions selected by the target layer's top-k indexer. As a result, the drafter has no own KV cache, and the cost of each draft token remains nearly constant (up to ~2K keys) regardless of context length. According to the arXiv paper and AngelSlim README, speedups reach 4.2× on long and agentic workloads.

image
image

What happened

Tencent published the repositories github.com/Tencent/AngelSlim and github.com/Tencent/AngelSpec, released drafter weights for Hy4 flash, DeepSeek-V4.1-Flash, and GLM-5.3-Flash in the AngelSpec Hugging Face collection, and published the paper arXiv:2611.34776 (submitted on November 25, 2026). DFly2 is a block-parallel drafter for speculative decoding: a small draft model proposes tokens, and the main model verifies them in a single pass. According to the arXiv paper and AngelSlim README, speedups reach 4.2× on long and agentic workloads: decoding is accelerated by up to 3.41×, and end-to-end by up to 2.17× on Hy4 flash. The average accepted block length is 4.06/4.03/4.11 tokens, compared to 3.35/3.10/3.16 for DSpark.

Context

Speculative decoding is a standard technique for accelerating generation: a small draft model proposes several tokens, and the main model verifies them in a single pass. A classic problem with this approach is that drafters add their own KV memory, increase prefill, and reduce prefix-cache hit rates, which makes decoding the slowest part and increases inference costs in long-context and agentic scenarios. DFly2 eliminates this systemic drawback: the drafter does not store its own KV cache but reads the target model's KV cache through its top-k indexer. Therefore, prefill and prefix-cache hit rates are not degraded, and the cost of a draft token remains nearly constant (up to ~2K keys) regardless of context length.

Why this matters for the industry

This mechanism directly reduces inference costs for long contexts and agentic scenarios—where decoding is slowest. The open-source AngelSpec training code and drafter weights for Hy4 flash, DeepSeek-V4.1-Flash, and GLM-5.3-Flash allow providers and inference platforms to replicate the speedup without additional memory costs or changes to the target model. This is a shift in inference economics: the cost of generation on long contexts no longer grows linearly, and speculative decoding transforms from an expensive option into a practical tool for long-context products. The numbers in the sources are internally consistent: +10.4% accepted tokens and ~30% higher speed on agentic tasks with the same configuration align with the difference in accepted block length.

Why this matters for users

If you are deploying LLM services with long contexts (agents, RAG, code work), this is a ready-made open recipe: a drafter without its own KV cache, stable ~2K keys per draft token, and measurable 2–4× speedups. For teams already working with Hy4, DeepSeek-V4.1-Flash, or GLM-5.3-Flash, this is a pilot-ready tool: you can connect the drafters from AngelSpec, run them on production traffic, and measure the actual speedup. Specific artifacts are already available: the repositories github.com/Tencent/AngelSlim and github.com/Tencent/AngelSpec, weights in the AngelSpec Hugging Face collection, and the paper arXiv:2611.34776.

What is currently unknown / limitations

The provided sources do not contain data on generation quality (accuracy, perplexity, degradation on tasks)—only speed and accepted block length. The headline "4.2×" is the maximum for long/agentic workloads; more representative numbers are 3.41× for decoding and 2.17× end-to-end on Hy4 flash. There are no independent third-party benchmarks in the sources. For other models, besides the three specified, the effect is currently zero—a drafter specific to the target model is required.

Sources

Author

Look at AI, editorial team