Communication among devices in multi-GPU systems plays an important role in terms of performance and scalability. In order to optimize an application, programmers need to know the type and amount of the communication happening among GPUs. Although there are prior works to gather this information in MPI applications on distributed systems and multi-threaded applications on shared memory systems, there is no tool that identifies communication among GPUs. Our prior work, ComScribe, presents a point-to-point (P2P) communication detection tool for GPUs sharing a common host. In this work, we extend ComScribe to identify communication among GPUs for collective and P2P communication primitives in NVIDIA's NCCL library. In addition to P2P communications, collective communications are commonly used in HPC and AI workloads thus it is important to monitor the induced data movement due to collectives. Our tool extracts the size and the frequency of data transfers in an application and visualizes them as a communication matrix. To demonstrate the tool in action, we present communication matrices and some statistics for two applications coming from machine translation and image classification domains.
Comprehensive Deadlock Prevention for GPU Collective Communication
School of Computer Science, Peking University(北京大学计算机学院);OneFlow Research(OneFlow研究院);National Key Laboratory of Parallel and Distributed Computing, College of Computer Science and Technology, National University of Defense Technology(国防科技大学计算机科学与技术学院并行与分布式计算国家重点实验室)
Scalable Construction of Spiking Neural Networks using up to thousands of GPUs
University of Cagliari(卡利亚里大学);Istituto Nazionale di Fisica Nucleare (INFN)(意大利国家核物理研究所);Jülich Research Centre(于利希研究中心);RWTH Aachen University(亚琛工业大学)
Accelerating MoE with Dynamic In-Switch Computing on Multi-GPUs
Hong Kong University of Science and Technology(香港科技大学);Shanghai Jiao Tong University(上海交通大学);Huawei Technologies Co. Ltd.(华为技术有限公司);Peking University(北京大学);Shanghai Qi Zhi Institute(上海人工智能实验室)
An Efficient, Reliable and Observable Collective Communication Library in Large-scale GPU Training Clusters
Infrawaves;Shanghai Innovation Institute(上海创新研究院);Beihang University(北京航空航天大学);Tsinghua University(清华大学);Zhipu AI(智谱AI);China Unicom Research Institute(中国联通研究院);Shanghai AI Power Technology Co., Ltd(上海人工智能功率科技有限公司)
Tools-CC-Bench: a Benchmark Suite for Collective Communication with Compression in HPC and AI Workloads
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);College of Computer Science and Technology, National University of Defense Technology(国防科技大学计算机学院);School of Computer Science, Nanjing University(南京大学计算机系)