Flash

Flash·Models & Products·2026-11-29 06:15

Tencent Open-Sources DFly2, Speeding Long-Context Inference for DeepSeek and GLM Flash Models

Tencent's Hunyuan AI Infra team fully open-sourced DFly2 on November 26, releasing weights, training code and a technical report; it is a block-parallel speculative-decoding drafter for natively sparse large models.

A bright data center corridor lined with server racks
A bright data center corridor lined with server racks

What happened

Each DFly2 draft layer pairs with one sparse attention layer of the target model, sharing the target layer's cached KV and the top-k positions selected by its indexer, so each draft token looks at at most about 2K keys regardless of context length; the drafter keeps no KV cache of its own, does no scoring, takes no part in prefill, and adds only one final-layer hidden state to the prefill-to-decode transfer.

DFly2 supports Hy4 flash (with five DFly2 layers built in, 0.85B parameters), Hy4 (3.3B-parameter DFly2), and the newly added DeepSeek-V4.1-Flash and GLM-5.3-Flash; released weights include Hy4-flash-DFly2-B6, DS-V4.1-Flash-DFly2-B6 and GLM-5.3-Flash-DFly2-B6, and the inference frameworks vLLM and SGLang are supported, both with official prebuilt images.

The paper and repository benchmark tables give the speedups (greedy decoding, concurrency of 1, against baselines trained with the same recipe): average decoding speedups on long-context and agent tasks are 2.87x/3.10x for DeepSeek-V4.1-Flash, 2.45x/2.61x for GLM-5.3-Flash and 3.06x/3.41x for Hy4 flash; under high concurrency (64K) long-context throughput rises 62% and agent-task throughput 81%. The paper is an arXiv preprint, not peer-reviewed, and all speedup figures are Tencent's own measurements.

Key facts

  1. Timing: November 26, 2026, when Tencent's Hunyuan AI Infra team announced the full open-sourcing; technical report arXiv:2611.34776, submitted November 25.
  2. Approach: a block-parallel speculative-decoding drafter; each draft token looks at at most about 2K keys regardless of context length; it keeps no KV cache of its own and does no scoring.
  3. Supported models: Hy4 flash (0.85B-parameter DFly2), Hy4 (3.3B-parameter DFly2), DeepSeek-V4.1-Flash and GLM-5.3-Flash.
  4. Speedups: average decoding speedups of 2.45x-3.41x on long-context and agent tasks; end-to-end speedups including prefill of 1.22x-2.12x.
  5. Memory: with the draft cache removed, DeepSeek-V4.1-Flash fits 1.73x as many requests in the same memory at 32K context; Hy4 flash, combining megakernels, 4-bit quantization and DFly2, decodes at over 150 tokens/s.
  6. Licenses: training framework code uses the AngelSpec License; Hy4 flash model weights use the Tencent Hy License; the paper is a preprint, not peer-reviewed.

Why it matters

DFly2 decouples speculative-decoding draft cost from context length, lifting agent-task throughput 81% at 64K under high concurrency, with weights, training code and the technical report all released at once.
Useful Tap if this story helped you
Send to a friendMakes a share image for X, WeChat, Telegram and more

SourcesarXiv technical report (Nov. 25); GitHub (Nov. 26). This article is a compilation of public information and does not constitute investment advice.

From HIMIAO Horizon · himiao.ai

Grab todayDataCamp Premium annual special: $132 for the first yearHIMIAO Picks →

Follow HIMIAO Horizon

No sign-up · Unsubscribe any time

Email

Notifications

A ping on your phone or computer when the brief is out. No email needed.

HIMIAO PicksWeekly freebies: one email every Friday, a 5-minute read

Comments

  1. Loading comments…
Ask the cat