RU

Tencent open-sources DFly2: up to 4.2× faster LLMs without a second KV cache

Published: 2026-11-29 · Author: AI Release · @ai_releaseorg
Tencent open-sources DFly2: up to 4.2× faster LLMs without a second KV cache

⚡ The gist

🔍 What happened

Tencent announced DFly2 on X on the 25th, and the technical report went up on an online archive the same day. Here's the thing: the standard speculative decoding setup keeps a second KV cache for the small draft model. The longer the context, the more GPU memory it eats.

DFly2 takes a different path. The draft model doesn't build its own cache — it reuses the big model's. Sparse attention picks only the tokens it needs from the context, and DFly2 hands the draft model their positions as well. So there's no separate prefill stage for the draft, and the cost of predicting tokens, according to Tencent, doesn't grow with context length. The auxiliary model for Hy4 Flash has 850 million parameters and 5 layers.

🧠 Our take

Why this is landing now: long contexts and agents are the norm, and data center memory is expensive. We think the shared-cache idea makes far more sense than yet another attempt to squeeze a couple more percent out of the old scheme. There's a nuance Tencent itself doesn't hide: the method only works with sparse attention. With plain full attention, you can't just drop it in.

What it changes. For anyone running agents over long contexts, the number that matters isn't 4.2× — it's the memory savings. According to Tencent, without the draft cache, DeepSeek-V4.1-Flash at 32K tokens can accept 1.73× more requests on the same GPU. For your budget, that beats any peak benchmark number. Winners: the open-source community and inference providers, who get ready-made code. Losers: anyone who built paid accelerators on the old scheme — if DFly2 holds up in practice.

⚠️ What we don't know

Almost every number here is Tencent grading its own homework. The 81% throughput gain is measured against the previous speculative scheme at a 64K-token context. The DSpark comparison (30% faster, with 10.4% more accepted tokens) was run on Tencent's terms, and those terms aren't disclosed anywhere in the source text. The tests ran on an NVIDIA H20, and there's no word on how things look on other accelerators. The paper says nothing concrete about output quality — just a general line about speculative decoding preserving quality overall. Both reports and the code are worth checking yourself — on GitHub and in the archive — rather than taking the press post at its word.

💬 Worth debating

  • Should an open tool that only works with sparse attention replace the familiar setup, when full attention is left out in the cold?
  • Who's right in the benchmark fight: the side comparing against DSpark on its own terms, or the side waiting for independent numbers on different hardware?
  • What's next: will a shared KV cache become the standard for draft models, or stay a niche for a handful of architectures?

Forecast: Within a quarter, at least one independent test bench will confirm DFly2's speed gains on Hy4 Flash or DeepSeek-V4.1-Flash. If that doesn't happen, Tencent's numbers should be treated as a best-case ceiling, not a typical result.

Source: AI Times (aitimes.com)

🤖 AI summary
  • Date: 2026-11-29
  • Source: www.aitimes.com
  • Tags: Tencent, DFly2, LLM, Spekulyativnoe, Kv-kesh, open, AI, neural networks
  • Key facts:
    • Tencent has released DFly2 as open source: a speedup for speculative decoding in LLMs with sparse attention.
    • The auxiliary model borrows the KV cache and token positions from the main model, so it needs no cache of its own.
    • It supports DeepSeek-V4.1-Flash, GLM-5.3-Flash, and Hy4 Flash, and runs on vLLM and SGLang.
    • Code is on GitHub, weights on Hugging Face.
    • Tencent announced DFly2 on X on the 25th, and the technical report went up on an online archive the same day.
    • Here's the thing: the standard speculative decoding setup keeps a second KV cache for the small draft model.
    • The longer the context, the more GPU memory it eats.
    • DFly2 takes a different path.
TencentDFly2LLMSpekulyativnoeKv-keshopenAIneural networks
← PreviousИИ может «допировать» интеллект, но не закрепляет навык

Source: www.aitimes.com · post in Telegram