arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.16731cs.ARcs.DCcs.LGcs.PF
收藏

PyGim:面向真实存内计算架构的高效图神经网络库

PyGim: An Efficient Graph Neural Network Library for Real Processing-In-Memory Architectures

University of Toronto(多伦多大学);ETH Zürich(苏黎世联邦理工学院);Vector Institute(矢量研究院);CentML(CentML公司);Barcelona Supercomputing Center(巴塞罗那超级计算中心);Universitat Politècnica de Catalunya(加泰罗尼亚理工大学);NVIDIA(英伟达公司)

Christina Giannoula, Peiming Yang, Ivan Fernandez, Jiacheng Yang, Sankeerth Durvasula, Yu Xin Li, Mohammad Sadrosadati, Juan Gomez Luna, Onur Mutlu, Gennady Pekhimenko

AI总结:

本文提出PyGim机器学习库,通过针对真实PIM系统的智能并行化技术和混合执行方式加速图神经网络,在1992个PIM核心上较Intel Xeon CPU平均实现3.04倍性能提升及更高资源利用率。

摘要:

图神经网络(GNNs)是用于分析图结构数据的新兴机器学习模型。GNN的执行涉及计算密集型和访存密集型内核,后者主导了总执行时间,并受到内存与处理器之间数据移动的严重瓶颈限制。存内计算(PIM)系统通过在存储阵列附近或内部放置简单处理器,可以缓解这一数据移动瓶颈。在本研究中,我们介绍了PyGim,这是一个在真实PIM系统上加速GNN的高效机器学习库。我们针对真实PIM系统,为GNN的访存密集型内核提出了智能并行化技术,并为其开发了便捷的Python API。我们提供了混合GNN执行方式,其中计算密集型和访存密集型内核分别在以处理器为中心和以内存为中心的计算系统中执行。我们在一个拥有1992个PIM核心的真实PIM系统上,使用新兴GNN模型对PyGim进行了广泛评估,结果表明,与基于Intel Xeon的最先进CPU方案相比,它平均实现了3.04倍的性能提升,并获得了比CPU和GPU系统更高的资源利用率。我们的工作为软件、系统和硬件设计者提供了有用的建议。PyGim已在https://github.com/CMU-SAFARI/PyGim公开发布。

英文摘要:

Graph Neural Networks (GNNs) are emerging ML models to analyze graph-structure data. Graph Neural Network (GNN) execution involves both compute-intensive and memory-intensive kernels, the latter dominates the total time, being significantly bottlenecked by data movement between memory and processors. Processing-In-Memory (PIM) systems can alleviate this data movement bottleneck by placing simple processors near or inside to memory arrays. In this work, we introduce PyGim, an efficient ML library that accelerates GNNs on real PIM systems. We propose intelligent parallelization techniques for memory-intensive kernels of GNNs tailored for real PIM systems, and develop handy Python API for them. We provide hybrid GNN execution, in which the compute-intensive and memory-intensive kernels are executed in processor-centric and memory-centric computing systems, respectively. We extensively evaluate PyGim on a real-world PIM system with 1992 PIM cores using emerging GNN models, and demonstrate that it outperforms its state-of-the-art CPU counterpart on Intel Xeon by on average 3.04x, and achieves higher resource utilization than CPU and GPU systems. Our work provides useful recommendations for software, system and hardware designers. PyGim is publicly available at https://github.com/CMU-SAFARI/PyGim.

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

↑