Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xtra-computing/g3

G3: A Programmable GNN Training System on GPU
https://github.com/xtra-computing/g3

deep-neural-networks gnn gnn-architectures gpu gpu-acceleration gpu-computing graph-neural-network graph-processing graph-systems gunrock

Last synced: about 1 month ago
JSON representation

G3: A Programmable GNN Training System on GPU

Awesome Lists containing this project

README

        





## G3: A Programmable GNN Training System on GPU

## What's new
G3 is research prototype that is currently in active development. You are welcome to share ideas and contribute.

The web-based GUI can be found at https://g3-gui.web.app/.

VLDB 2020 demo video (with a case study on predicting COVID in Singapore): https://www.youtube.com/watch?v=UJH0nh38wSg

## Overview
**G**3**** is built as a programming framework for Graph Neural Network (GNN) applications that supports graph related operations natively and leverages on the computation power of Graphics Processing Units (GPU). It is named G3, which stands for Graph processing system but tailored for GNN processing on GPUs. The values of G3 can be summarized as follow:

- G3 thrives to fundamentally enhance the performance of GNN applications by incorporating graph oriented operators at the low level.
- G3 provides a set of existing basic modules that can be stacked up to build up user-customized GNN architectures.
- G3 provides flexible C++ based APIs such that developers are able to define and implement their own GNN layers when such layers do not exist in our system.
- G3 frees the programmers from low level GPU thread management and memory management concerns, which is usually daunting and injects numerous unnoticeable bugs into the system.
- G3 automatically applies graph-centric optimizations on the GNN architectures during run time.

We have done some preliminary studies to show how such system can be used to build Graph Convolutional Network (GCN) , the state of the art in various GNN models, and how our implementation exceeds the performances of Tensorflow implementation (the original implementation) as well as PyTorch implementation by a significant margin. Details are [here](https://www.comp.nus.edu.sg/~hebs/pub/vldb2020-G3.pdf).

G3 is built based on **Gunrock**, a CUDA library for graph-processing designed specifically for the GPU. For more details, see [Gunrock's Github repo](https://github.com/gunrock/gunrock/). Most of the code is reused from Gunrock's code base. G3 added these components to Gunrock to efficiently support GNN training 1) [GCN App](/gunrock/app/gcn) and 2) [GCN Example](/examples/gcn).

## Getting Started

### Prerequisites
```
CMake >= 3.10
G++ >= 7.5
CUDA >= 9.0
```

### Quick Install
```
git clone --recursive https://github.com/Xtra-Computing/G3.git
cd G3
mkdir build
cd build
cmake ..
make -j
```
After that, you can run the example GCN application:
```
cd bin
./gcn
```

## How to cite **G**3****
If you use **G**3**** in your paper, please cite our work ([full version](https://www.comp.nus.edu.sg/~hebs/pub/vldb2020-G3.pdf)).
```
@article{husong2020g3,
author = {Liu, Husong and Lu, Shengliang and Chen, Xinyu and He, Bingsheng},
title = {G3: When Graph Neural Networks Meet Parallel Graph Processing Systems on GPUs},
journal = {PVLDB (Proceedings of the VLDB Endowment), demo paper},
year = {2020}
}
```

## Related work
* Graph systems on GPU: [Gunrock](https://github.com/gunrock/gunrock/) | [Medusa](https://github.com/Xtra-Computing/Medusa)
* Graph neural network systems: [PyTorch Geometric (PyG)](https://github.com/rusty1s/pytorch_geometric) | [Tensorflow](https://github.com/tensorflow/tensorflow)

## Acknowledgement
* We acknowledge Ee Ter Low, Long Sha, and Karan Sapra
for their contributions on developing the demo (with special support under COVID internship program (T1 251RES1824)).
* This work is supported by a collaborative grant from Microsoft Research Asia.