Skip to content

SiblingAttention: Efficient Prefill-Decode Attention Parallelism via Tensor-Vector Specialization

Jianxing Xu, Yuanbo Wen, Yihan Wang, Jun Bi, Jianuo Xin, Xiyue Yu, Zidong Du, Qi Guo

cs.AR

Abstract

To improve GPU utilization, modern large language model (LLM) serving systems leverage hybrid batching and chunked prefill techniques to process prefill and decode requests together. While such batching naturally enables joint processing of prefill and decode tokens in the model's token-wise layers, attention requires dedicated techniques to exploit prefill-decode parallelism. POD-Attention enables concurrent prefill-decode attention execution within the same GPU streaming multiprocessor (SM), but contention between prefill and decode attention for tensor units (Tensor Cores) causes serialization while leaving vector units (CUDA Cores) underutilized. In this paper, we propose SiblingAttention, an attention kernel that enables effective intra-SM prefill-decode parallelism via tensor-vector specialization. SiblingAttention specializes warpgroups within each persistent CTA to execute either prefill or decode attention, mapping their major computations to the tensor and vector units, respectively, thus mitigating compute unit contention. Building on this, we introduce on-chip storage optimizations that reduce the memory footprints of individual warpgroups and asymmetrically allocate the register and shared memory resources, ensuring prefill-decode attention co-residency under hardware constraints. Furthermore, we develop adaptive work-tile scheduling that allows prefill warpgroups to switch roles and atomically acquire remaining decode work tiles, alleviating workload imbalance under decode-heavy scenarios. Evaluations on Hopper GPUs show that SiblingAttention achieves up to 2.07x mean speedup in prefill-decode attention over POD-Attention across diverse hybrid batch configurations, with near-optimal parallelism efficiency. When integrated into vLLM, SiblingAttention further improves end-to-end serving throughput by up to 15.4% and reduces P95 TTFT by up to 27.7% over POD-Attention.

Create a lesson

Metadata

Categories
cs.AR, cs.LG
Comments
13 pages, 11 figures, 3 tables