-
Create a virtual environment in conda with python version >= 3.7 -
conda create --name <venv_name> python=<python_version>
-
Install pytorch (version >= 1.11) -
conda install pytorch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 cudatoolkit=10.2 -c pytorch
conda install pytorch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 cudatoolkit=11.3 -c pytorch
conda install pytorch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 cpuonly -c pytorch
-
Install pytorch-geometric -
conda install pyg -c pyg