跳到正文
研踪PaperTrail

论文库

检索计算机领域论文,按研究方向、作者或关键词筛选。

部分采集异常
正在读取账号与研究记录…

全站更新概况

+2781新增论文
+2240其中 AI 相关
+392已有论文修订
+99新增 AI 导读

arXiv 最近完成扫描:2026-12-03 15:00 · 全站最近入库:2026-12-03 13:55各信源进度 →

统计口径与数据新鲜度

统计 2026-12-02 16:51 — 2026-12-03 16:51(北京时间) · 点击数字查看对应简报;AI 相关包含在新增论文内。

最近完成检查:2026-12-03 15:00最近发现新增版本:2026-12-03 13:55库内论文最新更新时间:2026-12-03 02:59

每分钟刷新已保存的数据。空检查不代表采集异常;新收录可能包含历史论文。AI 导读按新增版本计数。

41,677 已收录论文34,268 AI 相关13,479 有修订112 HF 社区发现

浏览论文库

时间范围跟随排序:版本更新、本站收录或首次发表。最新收录可能包含历史论文。部分信源异常,查看状态 →

找到 1 篇论文 · 按版本更新时间排序上轮扫描起点 2026-12-03 14:58(北京时间)
版本更新 · v2arXiv:2611.36424

cuDNN Linear Attention: Optimized Mamba-2, GDN, GDP, KDA, and GDN-2 Kernels for NVIDIA GPUs

Joshua Park, Jingze Cui, Sherry Jiang, Mengyu Guo, Anerudhan Gopal, Vedaanta Agarwalla, Timmy Liu, Yu-Jung Chen 等 9 位作者

原文摘要

Linear attention replaces the softmax attention of Transformers with a fixed-size recurrent state, so that the runtime of prefill grows linearly rather than quadratically with the sequence length and the runtime of every decode step is constant in it. Many recent models have adopted a hybrid architecture where some layers swap dense attention for linear attention variants. cuDNN now ships optimized fused kernels for five linear attention variants, Mamba-2, Gated DeltaNet (GDN), Gated DeltaProduct (GDP), Kimi Delta Attention (KDA), and Gated DeltaNet-2 (GDN-2), on Blackwell (SM100, SM103), covering the training forward and backward passes. All of the kernels are open source and ship in cuDNN. In this paper, we walk through the optimizations that produce speedups over the state-of-the-art baselines. We start the kernel design from a single persistent kernel per pass. Then, in low $B \cdot H$ settings, where a grid of one CTA per (batch, head) pair does not cover the SMs, we use intra-card context parallelism (intra-card CP) or a split of the value dimension (split-$d_v$), both introduced by prior work in FlashQLA. We also fuse the other components that surround the linear attention operation in the block, the L2 normalization of the queries and keys and the gate and write-strength transforms, in both the forward and the backward pass. On GB200, the fused kernels for the four delta-rule variants run up to $7.1\times$ faster than the reference Triton implementations in the forward pass and up to $8.1\times$ in the backward pass, up to $3.2\times$ faster than FlashQLA, and up to $6.1\times$ faster than FlashKDA. The Mamba-2 kernels run up to $15.9\times$ faster than FLA and up to $4.2\times$ faster than mamba_ssm in the forward pass, and up to $6.9\times$ and $5.5\times$ in the backward pass.

cs.CL