arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.02052cs.LGcs.DC
收藏

TC-GNN:在GPU上桥接稀疏GNN计算与稠密张量核心

TC-GNN: Bridging Sparse GNN Computation and Dense Tensor Cores on GPUs

University of California, Santa Barbara(加州大学圣巴巴拉分校)

Yuke Wang, Boyuan Feng, Zheng Wang, Guyue Huang, Yufei Ding

AI总结:

TC-GNN是首个基于GPU张量核心的GNN加速框架,通过稀疏图转换技术和CUDA核心与TCU协同设计,桥接稀疏GNN计算与稠密张量核心,在多种模型和数据集上相比DGL平均加速1.70倍。

摘要:

近年来,图神经网络(GNNs)作为基于图的机器学习骨干,在电子商务等多个领域取得了巨大成功。然而,由于高度稀疏且不规则的基于图的操作,GNN的性能通常不尽如人意。为此,我们提出了TC-GNN,这是首个基于GPU张量核心单元(TCUs)的GNN加速框架。其核心思想是协调“稀疏”GNN计算与高性能“稠密”TCUs。具体而言,我们对主流GNN计算框架中的稀疏操作进行了深入分析。我们引入了一种新颖的稀疏图转换技术,以促进TCU对稀疏GNN工作负载的处理。我们实现了一种有效的CUDA核心与TCU协同设计,以充分利用GPU资源。我们将TC-GNN与PyTorch框架集成,以实现高可编程性。严格的实验表明,在各种模型和数据集上,相较于最先进的DGL框架,平均实现了1.70倍的加速。

英文摘要:

Recently, graph neural networks (GNNs), as the backbone of graph-based machine learning, demonstrate great success in various domains (e.g., e-commerce). However, the performance of GNNs is usually unsatisfactory due to the highly sparse and irregular graph-based operations. To this end, we propose TC-GNN, the first GNN acceleration framework based on GPU Tensor Core Units (TCUs). The core idea is to reconcile the "Sparse" GNN computation with the high-performance "Dense" TCUs. Specifically, we conduct an in-depth analysis of the sparse operations in mainstream GNN computing frameworks. We introduce a novel sparse graph translation technique to facilitate TCU processing of the sparse GNN workload. We implement an effective CUDA core and TCU collaboration design to fully utilize GPU resources. We integrate TC-GNN with the PyTorch framework for high programmability. Rigorous experiments show an average of 1.70X speedup over the state-of-the-art DGL framework across various models and datasets.

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

↑