CHARM+: Cross-Hardware Attention with Re-Merge Multistream Mechanism
Xinhang Zhang, Boning Zhang, Chengchun Liu, Chunpu Li, Lei Sun, Weifeng Zhang, Limin Xiao
Key points
From the paper's conclusion- Based on these insights, we propose CHARM+, Cross-Hardware Attention with Re-Merge Multistream Mechanism.
Abstract
As sequence lengths continue to grow, distributed attention based on sequence parallel (e.g., Ring-Attention) has become a mainstream solution for large language models (LLMs). Nevertheless, inherent communication dependencies limit computation-communication overlap, reducing GPU utilization. Moreover, in cross-hardware (NUMA or node) architectures, due to imbalanced communication bandwidth, frequent communication synchronization will limit overall performance. Based on these insights, we propose CHARM+, Cross-Hardware Attention with Re-Merge Multistream Mechanism. We reorganize sequential communications into several levels and achieve intra-level parallelism and computation overlap. Furthermore, we decouple cross-hardware communication from intra-hardware communication, eliminating synchronization overhead caused by bandwidth imbalance. Forward and backward algorithms were evaluated on multiple hardware architectures and consistently outperformed state-of-the-art methods. Compared to Ring-Attention, our forward and backward algorithms achieve average speedups of 1.3x and 1.7x on a dual-NUMA PCIe architecture, and 2.8x and 2.9x on a dual-node NVLink architecture, respectively.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CHARMING: Parallel Edge AI Acceleration Across Tensor Processing and In-Memory ComputationarXiv · 2026
- LiquidCP: Decoupling Attention Tasks from Communication and Kernel Boundaries in Context ParallelismarXiv · 2026
- SURMA: Efficient Fine-Grained Communication Offload for SuperPODarXiv · 2026
- Starscream: Reimagining LLM Sharding on AMD Instinct GPUs with GPU PartitioningarXiv · 2026
- flash-comm: Self-Synchronizing Collective Communication for LLM DecodingarXiv · 2026
- NUMA-Torch: Compiler-Driven NUMA-Aware LLM Prefill on Multi-Socket CPUsarXiv · 2026