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

HongTu:基于通信优化的CPU数据卸载的多GPU可扩展全图GNN训练

HongTu: Scalable Full-Graph GNN Training on Multiple GPUs (via communication-optimized CPU data offloading)

Qiange Wang, Yao Chen, Weng-Fai Wong, Bingsheng He

AI总结:

提出可扩展全图GNN训练系统HongTu,通过CPU数据卸载、去重通信和成本模型引导的图重组技术,在多GPU上支持十亿规模图训练,显著降低通信开销并实现大幅加速。

摘要:

图神经网络(GNN)的全图训练因其有效性已成为一种极具前景的训练方法。全图训练需要大量的内存和计算资源。为了加速这一训练过程,研究人员提出了采用多GPU处理。然而,现有框架的可扩展性有限,因为它们需要在GPU内存中为每一层维护训练数据。为了在大型图上高效训练,我们提出了HongTu,这是一个运行在GPU加速平台上的可扩展全图GNN训练系统。HongTu将顶点数据存储在CPU内存中,并将训练任务卸载到GPU。HongTu采用了一个内存高效的全图训练框架,该框架通过使用基于分区的训练以及重计算与缓存混合的中间数据管理来减少运行时内存消耗。为了解决分区之间由于重复邻居访问导致的主机-GPU通信增加的问题,HongTu采用了一个去重通信框架,将冗余的主机-GPU通信转换为高效的GPU间/GPU内数据访问。此外,HongTu使用一种成本模型引导的图重组方法来最小化通信开销。在4张A100 GPU服务器上的实验结果表明,HongTu有效支持十亿规模的全图GNN训练,同时将主机-GPU数据通信减少了25%-71%。与在16个CPU节点上运行的全图GNN系统DistGNN相比,HongTu实现了7.8倍到20.2倍的加速。对于训练数据能够放入GPU的小型图,HongTu实现了与现有基于GPU的GNN系统相当的性能。

英文摘要:

Full-graph training on graph neural networks (GNN) has emerged as a promising training method for its effectiveness. Full-graph training requires extensive memory and computation resources. To accelerate this training process, researchers have proposed employing multi-GPU processing. However the scalability of existing frameworks is limited as they necessitate maintaining the training data for every layer in GPU memory. To efficiently train on large graphs, we present HongTu, a scalable full-graph GNN training system running on GPU-accelerated platforms. HongTu stores vertex data in CPU memory and offloads training to GPUs. HongTu employs a memory-efficient full-graph training framework that reduces runtime memory consumption by using partition-based training and recomputation-caching-hybrid intermediate data management. To address the issue of increased host-GPU communication caused by duplicated neighbor access among partitions, HongTu employs a deduplicated communication framework that converts the redundant host-GPU communication to efficient inter/intra-GPU data access. Further, HongTu uses a cost model-guided graph reorganization method to minimize communication overhead. Experimental results on a 4XA100 GPU server show that HongTu effectively supports billion-scale full-graph GNN training while reducing host-GPU data communication by 25%-71%. Compared to the full-graph GNN system DistGNN running on 16 CPU nodes, HongTu achieves speedups ranging from 7.8X to 20.2X. For small graphs where the training data fits into the GPUs, HongTu achieves performance comparable to existing GPU-based GNN systems.

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

↑