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

LSM-GNN: 基于大规模存储的多GPU GNN训练方法通过优化数据传输方案

LSM-GNN: Large-scale Storage-based Multi-GPU GNN Training by Optimizing Data Transfer Scheme

NVIDIA(英伟达);NVIDIA/UIUC(英伟达/伊利诺伊大学厄巴纳-香槟分校)

Jeongmin Brian Park, Kun Wu, Vikram Sharma Mailthody, Zaid Quresh, Scott Mahlke, Wen-mei Hwu

AI总结:

本文提出LSM-GNN框架,通过优化数据传输方案提升多GPU环境下GNN训练效率,实验表明其在单节点双GPU配置下优于双节点四GPU的Dist-DGL基线,实现端到端训练时间的3.75倍加速。

摘要:

图神经网络(GNN)如今广泛应用于推荐系统、欺诈检测和节点/链接分类任务。现实中的GNN持续扩展规模,需要存储图和嵌入的大量内存,这超出了用于训练的目标GPU的内存容量。为解决内存限制,传统GNN训练方法使用图划分和分片技术在多个GPU节点内或跨多个节点扩展。然而,这种方法存在图划分算法的高计算成本和GPU间通信效率低的问题。为解决这些开销,我们提出了大规模存储基于多GPU GNN框架(LSM-GNN),一种利用新型通信层使GPU软件缓存作为系统级共享缓存的存储方法。LSM-GNN结合了一种混合驱逐策略,通过静态和动态节点信息智能管理缓存空间,显著提升缓存性能。此外,我们引入了Preemptive Victim-buffer Prefetcher(PVP),一种从CPU pinned-memory中的Victim Buffer预取节点特征数据的机制,进一步减少存储设备的压力。实验结果表明,尽管计算能力和内存容量较低,LSM-GNN在单节点双GPU配置下优于双节点四GPU的Dist-DGL基线,并在大规模GNN训练中实现端到端训练时间的3.75倍加速。

英文摘要:

Graph Neural Networks (GNNs) are widely used today in recommendation systems, fraud detection, and node/link classification tasks. Real world GNNs continue to scale in size and require a large memory footprint for storing graphs and embeddings that often exceed the memory capacities of the target GPUs used for training. To address limited memory capacities, traditional GNN training approaches use graph partitioning and sharding techniques to scale up across multiple GPUs within a node and/or scale out across multiple nodes. However, this approach suffers from the high computational costs of graph partitioning algorithms and inefficient communication across GPUs. To address these overheads, we propose Large-scale Storage-based Multi-GPU GNN framework (LSM-GNN), a storage-based approach to train GNN models that utilizes a novel communication layer enabling GPU software caches to function as a system-wide shared cache with low overheads. LSM-GNN incorporates a hybrid eviction policy that intelligently manages cache space by using both static and dynamic node information to significantly enhance cache performance. Furthermore, we introduce the Preemptive Victim-buffer Prefetcher (PVP), a mechanism for prefetching node feature data from a Victim Buffer located in CPU pinned-memory to further reduce the pressure on the storage devices. Experimental results show that despite the lower compute capabilities and memory capacities, LSM-GNN in a single node with two GPUs offers superior performance over two-node-four-GPU Dist-DGL baseline and provides up to 3.75x speed up on end-to-end epoch time while running large-scale GNN training

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

↑