AI 热点

腾讯混元开源DFly2推测解码器

腾讯混元更新于 11月26日 20:24

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

AI 导读

DFly2 是 Hy4 flash 的推测解码草稿模型,面向长上下文与智能体工作负载最高可加速 4.2×。它共享目标模型的 KV cache,并采用 top-k token 选择,使草稿生成成本不随上下文长度增长,且无需额外 KV 内存;在智能体任务中,其速度比采用相同方案的 DSpark 快约 30%,接受的草稿 token 比开源 DSpark 多 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

来源

腾讯混元