arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.07862cs.DCcs.LG
收藏

CTA流水线:一种面向延迟的多GPU系统空间缩放方法

CTA-Pipelining: A Latency-Oriented Spatial Scaling Method for Multi-GPU Systems

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);NVIDIA Corporation(英伟达公司)

Tingkai Liu, Muralidhar Andoorveedu, Sanjoy Das, Sanjay Patel, Volodymyr Kindratenko

AI总结:

针对多GPU系统,在延迟约束下服务大语言模型需求,提出CTA流水线执行范式,利用共享内存多GPU系统,通过协作线程阵列级依赖性实现跨GPU并发执行相关内核,降低延迟并可与TP结合推动延迟边界。

摘要:

计算基础设施的发展将多GPU系统转变为紧密集成的共享内存结构。然而,当前软件大多仍将这些相干互连简单视为高速网络。同时,在延迟约束下服务大语言模型的需求,使GPU工作负载优化从吞吐量驱动转向延迟受限,需要超越张量并行(TP)的面向延迟的缩放方法。因此,我们引入CTA流水线,一种旨在利用共享内存多GPU系统的执行范式。作为一种面向延迟的空间缩放技术,CTA流水线利用协作线程阵列级别的依赖性,实现跨GPU并发执行相关内核。我们在8-GPU H200和B200系统上使用CUTLASS、cuBLAS和NCCL库展示了其能力。结果表明,在代表MLP操作的2层通用矩阵乘法(GEMM)中,与微批处理相比,CTA流水线将延迟降低了31.8%,与TP相比降低了29.6%。它还可以与TP结合作为正交缩放维度,进一步推动延迟边界。

英文摘要:

The evolution of compute infrastructure has transformed multi-GPU systems into tightly integrated shared-memory structures. However, current software still mostly treats these coherent interconnects simply as high-speed networks. Simultaneously, the demand for serving Large Language Models under latency constraints has shifted GPU workload optimization from being throughput-driven to latency-bound, necessitating latency-oriented scaling methods beyond Tensor Parallelism (TP). Thus, we introduce CTA-pipelining, an execution paradigm designed to exploit shared-memory multi-GPU systems. As a latency-oriented spatial scaling technique, CTA-pipelining leverages dependencies at the Cooperative Thread Array level, enabling concurrent execution of dependent kernels across GPUs. We demonstrate its capability using CUTLASS, cuBLAS, and NCCL libraries on 8-GPU H200 and B200 systems. Results show on 2-layer GEMM, representing the MLP operation, CTA-pipelining reduces latency by up to 31.8% compared to micro-batching, and 29.6% compared to TP. It can also be combined with TP as an orthogonal scaling dimension to further push the latency boundary.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑