Live markets
BTC—— ETH—— SOL—— BNB—— XRP—— DOGE——
View all markets

Tencent Releases DFly2 Code and Weights to Accelerate Long-Context AI Inference

Tencent Releases DFly2 Code and Weights to Accelerate Long-Context AI Inference

Tencent’s Hunyuan AI infrastructure team released the weights, training code and technical report for DFly2 on November 26. The system is a speculative decoding drafter rather than a standalone chatbot. Its objective is to make large language model generation more efficient, particularly when processing lengthy inputs.

How speculative decoding reduces work

A smaller drafter proposes multiple possible tokens that the primary model can evaluate together. When proposals are accepted, generation can proceed with fewer expensive verification steps. Conventional drafting systems may maintain additional information about the input, creating overhead as the context grows.

DFly2 instead reuses information already computed by the primary model, including attention selections and cached representations. Tencent’s AngelSpec repository documents support for target models including Hy4 Flash, DeepSeek-V4.1-Flash and GLM-5.3-Flash. The release provides corresponding weights and training resources.

Reported gains depend on the workload

The research preprint reports improvements over comparable drafting methods on general, long-context and agent workloads. In two high-concurrency evaluations involving 64K contexts on DeepSeek-V4.1-Flash, throughput reportedly increased by 62% and 81% at matched per-user decoding speeds. These findings concern specific experimental setups, not guaranteed gains across all deployments.

Inference economics depend on hardware compatibility, memory use, batching, response lengths and integration costs. Teams should evaluate the release against representative workloads before extrapolating the results. Access to the implementation makes independent testing easier, but the preprint still warrants replication.

Related coverage: NVIDIA’s recent model training and inference resources.

Sources: Tencent AngelSpec repository; DFly2 research preprint; Chinabizinsider, November 27.