π€ AI Summary
High inter-GPU communication overhead in tensor-parallel inference of large language models (LLMs) severely limits scalability and increases latency. Method: This paper proposes Synchronization Point Dropping (SPD), the first attention-block sensitivity-aware adaptive synchronization mechanism that selectively skips full-synchronization operations for low-sensitivity attention outputs, thereby breaking the conventional all-reduceβbased synchronization paradigm. SPD integrates communication-computation overlap and precision-aware hierarchical synchronization to preserve model accuracy while reducing synchronization frequency. Contribution/Results: Under an 8-GPU configuration, SPD reduces end-to-end inference latency by approximately 20% for LLaMA2-70B, with less than 1% accuracy degradation. It effectively alleviates the communication bottleneck and establishes a novel paradigm for efficient distributed LLM inference.
π Abstract
With the rapid expansion in the scale of large language models (LLMs), enabling efficient distributed inference across multiple computing units has become increasingly critical. However, communication overheads from popular distributed inference techniques such as Tensor Parallelism pose a significant challenge to achieve scalability and low latency. Therefore, we introduce a novel optimization technique, Sync-Point Drop (SPD), to reduce communication overheads in tensor parallelism by selectively dropping synchronization on attention outputs. In detail, we first propose a block design that allows execution to proceed without communication through SPD. Second, we apply different SPD strategies to attention blocks based on their sensitivity to the model accuracy. The proposed methods effectively alleviate communication bottlenecks while minimizing accuracy degradation during LLM inference, offering a scalable solution for diverse distributed environments: SPD offered about 20% overall inference latency reduction with<1% accuracy regression for LLaMA2-70B inference over 8 GPUs.