arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.09200cs.DCcs.AI
收藏

面向多GPU机器学习工作负载的资源感知计算-通信重叠

Resource-aware Computation-Communication Overlap for multi-GPU ML Workloads

Chalmers University of Technology and University of Gothenburg(查尔姆斯理工大学和哥德堡大学)

Minyu Cui, Miquel Pericas

AI总结:

针对多GPU训练中通信瓶颈,提出通过共享内存占用整形和通信流优先级提升实现计算与通信重叠,在多种GPU上减少执行时间达25.5%。

摘要:

大规模机器学习的快速增长使得跨多GPU的分布式训练成为现代ML系统的基本组成部分。随着模型大小和计算吞吐量的持续增加,通信开销已成为多GPU训练中的主要瓶颈,特别是在计算和通信顺序执行时。本文探索了使用两种可移植运行时控制实现计算和集体通信的并发执行:用于计算内核的共享内存驱动占用整形和用于通信内核的提升调度优先级。我们的方法通过每块共享内存分配来调节计算内核的驻留,为通信内核留下足够的片上资源以取得进展。此外,为通信流分配更高的优先级确保一旦资源可用,通信进展稳定。在NVIDIA A40、A100、H100和AMD MI250X GPU上的实验表明,所提出的方法能够实现有效的计算-通信重叠,并将总执行时间减少高达25.5%,而无需修改供应商库或内核实现。

英文摘要:

The rapid growth of large-scale machine learning (ML) has made distributed training across multiple GPUs a fundamental component of modern ML systems. As model sizes and computational throughput continue to increase, communication overhead has become a dominant bottleneck in multi-GPU training, particularly when computation and communication are executed sequentially. This work explores concurrent execution of computation and collective communication using two portable runtime controls: shared-memory-driven occupancy shaping for computation kernels and elevated scheduling priority for communication kernels. Our approach regulates computation-kernel residency through per-block shared-memory allocation, leaving sufficient on-chip resources for communication kernels to make progress. In addition, assigning higher priority to communication streams ensures steady communication progress once resources become available. Experiments on NVIDIA A40, A100, H100, and AMD MI250X GPUs demonstrate that the proposed method enables effective computation-communication overlap and reduces total execution time by up to 25.5 percent, without modifying vendor libraries or kernel implementations.

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

↑