HyScale-GNN:一个可扩展的单节点异构混合GNN训练系统
HyScale-GNN: A Scalable Hybrid GNN Training System on Single-Node Heterogeneous Architecture
摘要:
图神经网络(GNN)在许多涉及图结构数据的现实应用中取得了成功。大多数现有的单节点GNN训练系统能够训练具有数千万条边的中等规模图;然而,将它们扩展到具有数十亿条边的大规模图仍然具有挑战性。此外,将GNN训练算法映射到计算节点上具有挑战性,因为最先进的机器具有由多个处理器和各种加速器组成的异构架构。我们提出了HyScale-GNN,一个新的系统训练GNN模型上的单节点异构体系结构。HyScale-GNN执行混合训练,利用处理器和加速器协同训练模型。我们的系统设计克服了现有工作的内存大小限制,并针对大规模图上的GNN训练进行了优化。我们提出了一个两阶段的数据预取方案,以减少GNN训练过程中的通信开销。为了提高任务映射的效率,我们提出了一种动态的资源管理机制,在运行时调整工作负载分配和资源分配。我们在CPU-GPU和CPU-FPGA异构架构上评估HyScale-GNN。使用几个大规模数据集和两个广泛使用的GNN模型,我们将我们的设计与PyTorch-Geometric中实现的多GPU基线进行了性能比较。CPU-GPU设计和CPU-FPGA设计分别实现了高达2.08倍和12.6倍的加速比。与P3和DistDGL等最先进的大规模多节点GNN训练系统相比,我们的CPU-FPGA设计使用单个节点实现了高达5.27倍的加速比。
英文摘要:
Graph Neural Networks (GNNs) have shown success in many real-world applications that involve graph-structured data. Most of the existing single-node GNN training systems are capable of training medium-scale graphs with tens of millions of edges; however, scaling them to large-scale graphs with billions of edges remains challenging. In addition, it is challenging to map GNN training algorithms onto a computation node as state-of-the-art machines feature heterogeneous architecture consisting of multiple processors and a variety of accelerators. We propose HyScale-GNN, a novel system to train GNN models on a single-node heterogeneous architecture. HyScale- GNN performs hybrid training which utilizes both the processors and the accelerators to train a model collaboratively. Our system design overcomes the memory size limitation of existing works and is optimized for training GNNs on large-scale graphs. We propose a two-stage data pre-fetching scheme to reduce the communication overhead during GNN training. To improve task mapping efficiency, we propose a dynamic resource management mechanism, which adjusts the workload assignment and resource allocation during runtime. We evaluate HyScale-GNN on a CPU-GPU and a CPU-FPGA heterogeneous architecture. Using several large-scale datasets and two widely-used GNN models, we compare the performance of our design with a multi-GPU baseline implemented in PyTorch-Geometric. The CPU-GPU design and the CPU-FPGA design achieve up to 2.08x speedup and 12.6x speedup, respectively. Compared with the state-of-the-art large-scale multi-node GNN training systems such as P3 and DistDGL, our CPU-FPGA design achieves up to 5.27x speedup using a single node.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。