How-toSelected

重计算技巧使SSM的推测解码速度翻倍

Why we picked it

不用存状态,算完就扔,SSM推理直接快一倍,Qwen 3.5和Nemotron Ultra用户试试这个技巧。

在运行大规模上下文智能体时,Qwen 3.5和Nemotron Ultra等混合模型面临Gated-DeltaNet/Mamba状态的瓶颈。

Body

一个简单洞察是加载状态并计算但不存储,可使速度提升2倍。该重计算技巧最终解锁了状态空间模型(SSM)的推测解码(spec decoding)功能。

Original · Tri Dao (FlashAttention)

As hybrid models (Qwen 3.5 / Nemotron Ultra) run agents with massive context, Gated-DeltaNet / Mamba states become a bottleneck. A simple insight to make this 2x faster: load the states, compute, but don't store them. This recompute trick finally unlocks spec decoding for SSMs

Industry Coordinates & Source Verification

This report is categorized under AITOP's "How-to" desk, focusing on China's AI industry and domestic foundation model ecosystem. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Qwen 3.5, Nemotron Ultra, Mamba, SSM.

Source attribution: curated from Tri Dao (FlashAttention) (@tri_dao). Cross-source corroboration: 2 independent sources have covered this development (including arXiv: DeepSeek), confirming industry-wide signal strength.

  • arXiv: DeepSeek06-15 18:06Source