跳到正文
arXiv (Robotics + Hardware + Signal)· Hyunsu Ye, Hyunmin Choi, Jaehong Cho, Jaeseo Lee, Hyeongseok Gwak, Joohee Lee, Donguk Moon, Woosuk Chung, Hoshik Kim, Kiwan Maeng, Jongse Park·· 1 天前AI 评分30

ANOR:用GPU-PNM计算层级扩展稀疏注意力

ANOR: Scaling Sparse Attention with a GPU-PNM Computing Hierarchy

AI 导读

ANOR 是 GPU-PNM 联合加速系统,利用稀疏注意力的选择局部性,把大部分注意力计算放在 GPU 上、仅将缓存未命中交给 PNM 处理。它引入有界缓存更新策略、片上 Early Streaming Buffer(ESB)和自适应缓存因子机制,降低 GPU 侧链路流量。在两个模型和三种长上下文智能体负载上,解码吞吐平均较 HiSparse 提升 2.3x、较 PNM 基线提升 2.0x。

正文 · 原文

arXiv:2611.30417v1 Announce Type: new Abstract: Serving large language models with long contexts requires keeping the key-value (KV) cache of every request, which can exceed GPU memory capacity. Sparse attention reads only a small, query-dependent subset of this cache at each decoding step, yet must retain the full cache because later steps may select other entries. Processing-near-memory (PNM) devices attached through Compute Express Link (CXL) can hold the full cache and compute attention where it resides. Prior GPU-PNM systems for sparse attention are PNM-centric, processing most of the attention on the PNM. As existing CXL-PNM devices provide far less memory bandwidth than GPU HBM, this PNM-centric execution makes the PNM the bottleneck and leaves the GPU idle waiting for attention results. We present ANOR, a GPU-PNM joint acceleration system that exploits the selection locality of sparse attention by computing most of the attention on the GPU from a cache of recently selected entries and processing only the misses on the PNM. As the PNM processes cache misses directly, GPU cache updates can be decoupled from current-step execution. We develop a bounded cache-update policy that limits updates to the point where the hit ratio of later steps saturates, reducing GPU-facing link traffic. We add a small on-chip Early Streaming Buffer (ESB) that captures KV data during PNM attention and streams it to the GPU, avoiding most redundant DRAM reads despite the bandwidth mismatch between PNM memory and the GPU-facing link. We also propose an adaptive cache-factor mechanism that adjusts GPU cache size to the serving load, balancing hit ratio and batch size. Across two models and three long-context agentic workloads, ANOR improves decode throughput by 2.3x over HiSparse and 2.0x over a PNM baseline on average. These results show that PNM is most effective not as the primary attention engine but as a computing tier of the GPU memory hierarchy.

来源:arXiv (Robotics + Hardware + Signal) · arxiv.org