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

Yuke Wang, Boyuan Feng, Zheng Wang, Guyue Huang, Yufei Ding
12/3/2021
93 citations
cs.LGcs.DC
gnn

Official code: YukeWang96/TC-GNN_ATC23 (58 stars, Python, PyTorch, last commit 2023-10-16).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

PyTorch

Artifact for USENIX ATC'23: TC-GNN: Bridging Sparse GNN Computation and Dense Tensor Cores on GPUs.

5818Python, CudaJan 29, 20213 years ago
cudadeep-learninggpugraph-neural-networkspytorch+1 more

Similar Papers

Cite this paper

@article{wang2021tcgnn,
  title  = {TC-GNN: Bridging Sparse GNN Computation and Dense Tensor Cores on GPUs},
  author = {Yuke Wang and Boyuan Feng and Zheng Wang and Guyue Huang and Yufei Ding},
  year   = {2021},
  eprint = {2112.02052},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.02052}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.02052.svg)](https://codeofpaper.com/paper/2112.02052)

Discussion