AI 导读
腾讯混元开源 DFly2,作为 Hy4 flash 的投机解码 drafter,在长上下文与智能体负载下最高实现 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://github.com/Tencent/AngelSpec
HuggingFace: https://huggingface.co/AngelSlim
DFly2: https://arxiv.org/abs/2611.34776
来源:Tencent Hy · x.com