ANOR: Scaling Sparse Attention with a GPU-PNM Computing Hierarchy
Hyunsu Ye, Hyunmin Choi, Jaehong Cho, Jaeseo Lee, Hyeongseok Gwak, Joohee Lee, Donguk Moon, Woosuk Chung, Hoshik Kim, Kiwan Maeng, Jongse Park
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.
Create a lesson
Metadata
- Comments
- 15 pages, 20 figures
Related papers
Synapse: An HBM-Coordinated HBF Near-Memory Computing Architecture for Pipelined Agentic AI Execution
Shared title terminologycs.ARJuhyeong Jin, Hyunjun Cho, Joo-Young Kim
Acceleration of Sparse and Irregular Workloads through Energy-Efficient Stream Extensions
Shared title terminologycs.ARPaul Scheffler
FoldSim: Scaling Cycle-Exact RTL Simulation with Hierarchical Folding and Static Scheduling
Shared title terminologycs.ARChengxuan Wang, Nikhil Rout, Yang-gon Kim et al.
CRAFT: Analog Circuit Design by Reasoning LLM Agents from Pre-Computed Lookup Tables
Shared title terminologycs.ARHyunjun Park, Seungyub Han, Jason Jaesung Lee et al.
FlashX: Scaling Robotic Experience Reuse for Embodied Agents with CBA-Based NAND Flash
Shared title terminologycs.ARYuseon Choi, Sanghyeon Park, Eunjong Lee et al.
BitPrefill: W1.58A4 Tensor-Core Acceleration for Compute-Bound LLM Prefill
Shared title terminologycs.ARFang Chen, Xuming Chen, Sanmukh Kuppannagari et al.