Close Menu
NCIJ Network NCIJ Network
    What's Hot

    Tencent Open-Sources DFly2: Speculative Decoding That Reuses the Target’s Sparse KV Cache

    November 27, 2026

    A fat-burning molecule has an unexpected benefit for your muscles

    November 27, 2026

    Major Thanksgiving storm brings flooding, flight delays across US

    November 27, 2026
    Facebook X (Twitter) Instagram
    Trending
    • Tencent Open-Sources DFly2: Speculative Decoding That Reuses the Target’s Sparse KV Cache
    • A fat-burning molecule has an unexpected benefit for your muscles
    • Major Thanksgiving storm brings flooding, flight delays across US
    • nexos.ai AI Adoption Platform puts 200+ models behind one AI Gateway, with budget limits and governance built in
    • In Nepal, experts debate future of mega-dams after August’s flood
    • Too much of this common nutrient could be accelerating blood vessel aging
    • This 345-million-year-old fossil had scientists fooled for decades
    • ME sufferers and families need more help, campaigner says
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Friday, November 27
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Artificial Intelligence

    Tencent Open-Sources DFly2: Speculative Decoding That Reuses the Target’s Sparse KV Cache

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKNovember 27, 2026 Artificial Intelligence No Comments3 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email





    Tencent has open-sourced DFly2, a speculative decoding drafter built for natively sparse LLMs. DFly2 speculative decoding targets models like DeepSeek-V4.1-Flash, GLM-5.3-Flash and Tencent’s own Hy4 flash. Its main approach is that the drafter keeps no KV cache of its own. This is important for long-context and agentic serving, where draft memory competes with concurrency.

    TL;DR

    • Size: 0.85B-parameter, 5-layer drafter shipped with Hy4 flash.
    • Runs on: Serving tests used NVIDIA H20 GPUs with vLLM, TP8 per instance. Hy4 flash’s vLLM recipe defaults to 8x H200.
    • Performance: Higher draft acceptance than same-recipe DFlash and DSpark on all 3 targets and all general benchmarks.
    • Best: Up to 81% more throughput on DeepSeek-V4.1-Flash (SWE 64K), at matched per-user speed.
    • Worst: Smallest gain on Hy4 flash general tasks: only 3.9% over DSpark at temperature 0.

    What is DFly2?

    DFly2 is a block-parallel speculative decoding drafter from Tencent’s Hunyuan AI Infra team. It is described in the research paper ‘DFly2: Turbocharging Long-Context Speculative Decoding by Sharing the Target’s Sparsity‘.

    Speculative decoding uses a small drafter to propose tokens. The target verifies them in 1 pass, so output stays lossless. Long context makes this costly. A normal drafter attends over the whole prefix and stores its own KV cache.

    How does DFly2 work?

    DFly2 pairs each draft layer with one sparse attention layer in the target. It shares 2 things with that layer.

    • KV sharing: the draft layer reads the paired target layer’s latent KV cache.
    • Index sharing: it attends only to positions the target’s indexer already selected (top-k sparse KV).
    • Initialization: each draft layer starts from its paired target layer’s weights.
    • Hidden injection: the target’s last-layer hidden state is gated into the draft block.
    • Intra-block correction: the drafter rereads the shared context slot by slot within a block.

    On DeepSeek-V4.1-Flash, a selection made 1 step early covers close to 90% of what later block tokens select. A same-size sliding window recovers less than 20%.

    Per the AngelSpec GitHub page, each draft token attends to at most about 2K keys. So drafting cost stays roughly flat at any context length. DFly2 also skips prefill entirely. The prefill-to-decode transfer adds only 1 last-layer hidden state.

    How much memory does a separate draft cache cost?

    A conventional 3-layer drafter cache would add this much per token (bf16, paper Table 2):

    Target Target KV Drafter cache Increase
    DeepSeek-V4.1-Flash 4.4 KiB 3.4 KiB 1.76x
    GLM-5.3-Flash 11.7 KiB 3.0 KiB 1.26x
    Hy4 flash 17.2 KiB 3.4 KiB 1.20x

    At 32K, removing the drafter’s cache lets the same memory pool hold 1.73x as many requests.

    cache Decoding DFly2 OpenSources Reuses Sparse Speculative targets Tencent
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    nexos.ai AI Adoption Platform puts 200+ models behind one AI Gateway, with budget limits and governance built in

    Sakana AI Releases Namazu Small, a 30B Model Built on Nemotron 3 Nano

    ByteDance Researchers Open-Sources Laminar, an Async Reinforcement Learning RL Post-Training Framework

    ‘Buy European’ ambition collides with defence targets

    Meet Facebook’s Your Algorithm: How Meta Turns Plain-Language Preferences Into Ranking

    OpenAI and Cisco Releases Shirudo: An Open-Source Linux Runtime Allowing Agents to Defend Systems Without Downtime

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Tencent Open-Sources DFly2: Speculative Decoding That Reuses the Target’s Sparse KV Cache

    November 27, 2026

    A fat-burning molecule has an unexpected benefit for your muscles

    November 27, 2026

    Major Thanksgiving storm brings flooding, flight delays across US

    November 27, 2026

    nexos.ai AI Adoption Platform puts 200+ models behind one AI Gateway, with budget limits and governance built in

    November 27, 2026
    Latest Posts

    Fed Study Finds Investor Beliefs Help Drive Crypto Volatility

    August 23, 2026

    The best small tablets of 2026: Expert tested and reviewed

    August 23, 2026

    Drill, Burnham, drill? The oil basin that is a totem for Trump – and a headache for Britain’s new PM | Fossil fuels

    August 23, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    Tencent Open-Sources DFly2: Speculative Decoding That Reuses the Target’s Sparse KV Cache

    November 27, 2026

    A fat-burning molecule has an unexpected benefit for your muscles

    November 27, 2026

    Major Thanksgiving storm brings flooding, flight delays across US

    November 27, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Type above and press Enter to search. Press Esc to cancel.