Back to articles

Tencent Open-Sources DFly2 for Speculative Decoding in Sparse Models

3 min read

Tencent’s Hunyuan team says it has open-sourced DFly2, a speculative-decoding tool designed to accelerate inference for sparse models. The release includes model weights, training code, and a technical report. Tencent says DFly2 is compatible with Hy4 Flash, DeepSeek-V4.1-Flash, and GLM-5.3-Flash. Providing implementation materials alongside the model resources gives developers a starting point to inspect the approach and try it in their own serving setups.

Results reported by Tencent

  • At a 64K context length, DFly2 increased DeepSeek-V4.1-Flash serving throughput by up to 81% in the team’s tests.
  • On Hy4 Flash agentic tasks, Tencent reports speedups of up to 4.2x.
  • The team says DFly2 was about 30% faster than DSpark under the same recipe and accepted 10.4% more draft tokens than open-source DSpark.

These are peak results reported by the company for particular tests, not a promise that every model, workload, or deployment will see the same improvement. The social post does not spell out the full benchmark configuration, baseline details, or result distribution across tasks. Teams considering adoption should consult the technical report and reproduce the comparison under their own conditions.

A design aimed at limiting draft overhead

Speculative decoding generally uses a drafting step to propose candidate tokens, which the target model then verifies. The goal is to reduce the time spent generating outputs without replacing the target model’s role. Tencent says each DFly2 draft layer reads directly from the target model’s KV cache and uses top-k token selection. According to the team, this avoids an additional prefill step, adds no KV-cache memory, and keeps drafting cost constant as context length changes.

If those properties hold under real serving loads, they could make the draft stage more manageable in long-context settings. But the practical impact will depend on factors such as the model, request pattern, and serving configuration. A design claim about memory or cost should not be treated as a substitute for measurements on the deployment that matters.

Why the release matters

DFly2 is relevant not only because of the reported speedups, but also because the team has made weights, code, and a report available for inspection. Model-serving teams can test whether the decoder improves throughput without compromising the latency, resource use, or output behavior they care about. Researchers can examine the implementation and use the published materials as a basis for further experiments.

For now, the most cautious conclusion is that DFly2 is a new optimization option for sparse-model inference with promising, company-reported results. Its generality and real-world benefits remain questions for fuller benchmark disclosure and independent reproduction. Developers should compare it against their existing setup using the target model, context lengths, and traffic patterns they actually expect, rather than relying on a best-case acceleration figure alone.

Web Search

Comments

Checking sign-in status...

Loading comments...

Related articles

CCTest · Blog
tritify Uses Exact Integer Arithmetic to Make Distributed Inference Verifiable
Inference & Serving
cctest.ai

tritify Uses Exact Integer Arithmetic to Make Distributed Inference Verifiable

The open-source runtime tritify aims to make model inference reproducible across hardware by using exact integer arithmetic at runtime. Its authors also report a large-model demonstration in which computation was split across three machines without changing the output bytes.

Read more