Installation
This package can be easily installed by running pip at package root path:
$ pip install -r requirements.txt
$ pip install -e .[benchmark]
The installation script already covers the following core dependencies:
PyTorch Geometric (
>=2.5.3)TorchMetrics (
>=1.0): only required forbenchmark/experiments.Optuna (
>=3.4): only required for hyperparameter search inbenchmark/experiments.
Advanced Options
Installation can be specified by pip options. The following options can also be combined on demand.
Only pyg_spectral Package
Install without any options:
$ pip install -e .
Benchmark Experiments
Install with [benchmark] option:
$ pip install -e .[benchmark]
Docs Development
Install with [docs] option:
$ pip install -e .[docs]
C++ Backend
Ensure C++ 11 is installed.
$ gcc --version
Install with
[cpp]option and environment variablePSFLAG_CPP=1:
$ export PSFLAG_CPP=1; pip install -e .[cpp]