Install

System requrements

GGFM works with the following operating systems:

  • Linux

Python environment requirments

1. Python environment (Optional): We recommend using Conda package manager

conda create -n ggfm python=3.8
source activate ggfm

2. Pytorch: Follow their tutorial to run the proper command according to your OS and CUDA version. For example:

pip install torch torchvision torchaudio

3. DGL: Follow their tutorial to run the proper command according to your OS and CUDA version. For example:

pip install dgl -f https://data.dgl.ai/wheels/repo.html

4. PyG: Follow their tutorial to run the proper command according to your OS and CUDA version. For example:

pip install torch_geometric

4. Install GGFM:

  • install from pypi

pip install ggfm
  • install from source

git clone https://github.com/BUPT-GAMMA/ggfm
cd ggfm
pip install .