Installation
Requirements
cuda
python>=3.6
torch(PyTorch)
torch_geometric, torch_scatter, torch_sparse. Please refer to PyG for installation.
Pip Wheels
# glibc>=2.14, torch>=1.13
pip install graphlearn-torch
Build from source
Install Dependencies
git submodule update --init
./install_dependencies.sh
Python
Build
python setup.py bdist_wheel
pip install dist/*
UT
./scripts/run_python_ut.sh
C++
If you need to test C++ operations, you can only build the C++ part.
Build
cmake .
make -j
UT
./scripts/run_cpp_ut.sh