让Hy4 flash吐字提速4.2倍 腾讯混元开源新一代草稿模型DFly2Tencent Hunyuan Open Sources DFly2 Draft Model Boosting Hy4 flash Speed by 4.2x


AI free token/AI免费积分

让Hy4 flash吐字提速4.2倍 腾讯混元开源新一代草稿模型DFly2

让 Hy4 flash 吐字提速 4.2 倍,腾讯混元开源新一代草稿模型 DFly2

IT之家 11 月 26 日消息,腾讯混元团队今日开源新一代草稿模型 DFly2。

官方表示,DFly2 不替换 Hy4 flash,作用更像是挂在旁边的加速组件, 可以在保持模型权重不变、输出不变的前提下,让模型吐字速度成倍提升 。

DFly2 专为 DSA 类稀疏注意力大模型和长上下文场景设计,适配 Hy4 flash 的权重及完整训练代码同步开源。

同等训练条件下表现更优 :Hy4 flash 在 19 个公开评测集上,DFly2 的接收长度与加速比整体优于 DFlash 与 DSpark,长文与 Agentic 优势更明显,平均加速比较 DSpark 分别高约 12% 与 30%, 单项最高提速 4.2× 。

对比开源方案同样占优 :与主流开源模型自带的 DSpark 相比,Hy4 flash 的 DFly2 在 Agentic 与真实任务(WorkBuddy(了解更多))上接收长度领先 10.4% 。

官方表示,DFly2 最大的亮点是极致复用目标模型:每个 draft 层直接共享目标模型对应稀疏注意力层的 KV cache(KV Share)和 indexer 选出的至多 2,048 个位置(Index Share)。由此带来三点优势:

计算开销固定 :每个 draft token 至多关注约 2K 个 key,注意力复杂度与上下文长度无关。

零额外 KV 显存 :无需为 drafter 单独维护 KV cache。

PD 分离友好 :不参与 prefill,P → D 仅额外传输一个末层隐状态。

本文来源:https://www.ithome.com/1/032/929.htm
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。

Tencent Hunyuan Open Sources DFly2 Draft Model Boosting Hy4 flash Speed by 4.2x

Hy4 flash's token output sped up 4.2×: Tencent Hunyuan open-sources next-generation draft model DFly2

IT Home, November 26 — The Tencent Hunyuan team today open-sourced the next-generation draft model DFly2.

According to the official statement, DFly2 does not replace Hy4 flash; it functions more like an acceleration module attached alongside it, able to multiply the model's token generation speed while keeping the model weights and output unchanged.

DFly2 is designed for DSA-type sparse-attention large models and long-context scenarios; the weights adapted for Hy4 flash and the complete training code have been open-sourced at the same time.

Better performance under equal training conditions: across 19 public benchmarks on Hy4 flash, DFly2's acceptance length and speedup ratio are overall superior to DFlash and DSpark, with more pronounced advantages on long texts and Agentic tasks; the average speedup is roughly 12% higher than DFlash and 30% higher than DSpark respectively, with a peak single-task speedup of 4.2×.

Also superior to open-source alternatives: compared with the DSpark bundled with mainstream open-source models, Hy4 flash's DFly2 leads by 10.4% in acceptance length on Agentic and real-world tasks (WorkBuddy(了解更多)).

According to the official statement, DFly2's biggest highlight is extreme reuse of the target model: each draft layer directly shares the KV cache of the corresponding sparse-attention layer in the target model (KV Share) and up to 2,048 positions selected by the indexer (Index Share). This brings three advantages:

Fixed computational cost: each draft token attends to at most around 2K keys, so attention complexity is independent of context length.

Zero extra KV memory: there's no need to maintain a separate KV cache for the drafter.

PD-disaggregation friendly: it doesn't participate in prefill, and P → D only needs to transmit one additional last-layer hidden state.

本文来源:https://www.ithome.com/1/032/929.htm
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。

暂无评论,快来发表第一条评论吧!No comments yet. Be the first!

📮 需求咨询📮 Inquiry