跳到正文
数字商店
原文
Tencent Hy· @TencentHunyuan · X·· 5 天前AI 评分46
AI 导读

腾讯混元开源了 Hy4 flash 的投机采样草稿模型 DFly2,在长上下文和智能体工作流中可实现最高 4.2x 的速度提升。DFly2 通过共享目标模型的 KV cache 和 top-k token 选择,实现了在任何上下文长度下草稿成本保持不变且零额外 KV 内存占用。在智能体任务上,其速度比同方案的 DSpark 快约 30%,且接受的草稿 token 数多 10.4%。

正文 · 原文

🚀 We’re open-sourcing DFly2 — Hy4 flash’s speculative decoding drafter, delivering up to 4.2× speedup for long-context & agentic workloads.

✨ Shares the target model’s KV cache + top-k token selection

→ Drafting cost stays flat at any context length
→ Zero extra KV memory

On agentic tasks: ~30% faster than same-recipe DSpark, and accepts +10.4% more draft tokens vs open-source DSpark.

GitHub: https://t.co/6Li9K4wTFY
HuggingFace: https://t.co/jy3dFUCQnO
DFly2: https://t.co/ZgmYgEaVcn

来源:Tencent Hy · x.com