header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP
Partnered With:

Tencent open-sources draft model DFly2: boosting Hy4 Flash generation speed by up to 4.2x

Beating AI News Flash: Tencent Hunyuan has further open-sourced the complete training code for its draft model DFly2. DFly2 is a small model with approximately 850 million parameters, specifically designed to accelerate large model generation. The weights were previously released alongside Hy4 Flash, and this time the specific training methods have also been made public, enabling developers to train adapted draft models for other large models that use similar sparse attention architectures.


Compared to existing draft models such as DFlash and DSpark, the core improvement of DFly2 is that it directly reuses the computation results of the main model. DFlash requires additionally storing a complete context cache, resulting in significant GPU memory overhead; DSpark only retains the most recent segment of information, which may miss important content from distant positions. DFly2, on the other hand, directly reads the main model's existing KV cache, as well as up to 2,048 key positions selected by the main model from the full text. This eliminates the need to maintain a separate cache while also controlling computational overhead in long contexts.


Tencent conducted comparative tests under identical training conditions. Across four agent tasks on Hy4 Flash, DFly2 achieved an average speedup of approximately 3.2x compared to standard token-by-token generation, with a maximum of 4.2x, and an average acceleration ratio about 25% higher than DSpark. In 128K long-context tests, the number of draft tokens accepted by the main model per round was also about 18% higher than DSpark.


The DFly2 training method has been integrated into Tencent's open-source AngelSpec framework. The paper also validated the same design on DeepSeek-V4.1-Flash and GLM-5.3-Flash, demonstrating that this approach is not limited to Hunyuan models.

举报 Correction/Report
RelatedRecommended
Flash Trade improves user trading experience through direct trading.
Flash Trade aims to address the security and liquidity risks of Wrapped Tokens.
DeepSeek V4-Flash Official Version API Launches Public Beta, Offering 1 Million Context, Pondering Mode, and Tool Invocation Capabilities at a Very Low Price.
Correction/Report
Submit
Add Library
Visible to myself only
Public
Save
Choose Library
Add Library
Cancel
Finish