
Tencent open-sources DFly2 speculative drafter
Tencent has open-sourced DFly2, a block-parallel speculative decoding drafter designed to accelerate long-context inference for natively sparse LLMs such as DeepSeek-V4.1-Flash and Hy4. By directly sharing the target model's sparse KV cache and top-k index selections, it eliminates drafter memory overhead and maintains constant drafting cost across long prompts.
Speculative decoding benchmarks often obscure an uncomfortable reality: drafter memory overhead and prefill compute can cause speculative runs to finish slower than plain autoregressive decoding on long agentic tasks. DFly2 addresses this scaling trap by converting the target model's sparse cache into a zero-overhead shared substrate.
- –Zero extra KV memory: Reuses the target model's sparse KV cache and DSA index selections rather than maintaining a private drafter cache, bounding attention cost to ~2,048 positions regardless of context length.
- –Reverses agentic slowdowns: While conventional drafters dropped below 1.0× end-to-end throughput (as low as 0.63×) on agent benchmarks like MemAgent and ALB, DFly2 delivers 1.25× to 2.1× end-to-end speedups.
- –Disaggregation friendly: Skips prefill computation entirely and requires only a single last-layer hidden state handoff during prefill-to-decode transitions.
- –Multi-model open-source release: Ships inside the AngelSpec framework with pre-trained drafters for Hy4 Flash, DeepSeek-V4.1-Flash, and GLM-5.3-Flash, alongside vLLM and SGLang integration.
DISCOVERED
23m ago
2026-11-27
PUBLISHED
44m ago
2026-11-27
RELEVANCE
AUTHOR
Joshua_WD