-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·43 lines (32 loc) · 1.21 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# environment name
export ENV=elene
# create env
conda create --name $ENV python=3.10 -y
conda activate $ENV
# install cuda according to your system --- or ignore for CPU
conda install -c "nvidia/label/cuda-11.3.1" cuda-toolkit
# install pytorch
conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 -c pytorch -y
# install pyg
conda install pyg -c pyg -y
# install ogb
pip install ogb
# install rdkit
conda install -c conda-forge rdkit -y
# update yacs and tensorboard
pip install yacs==0.1.8 --force # PyG currently use 0.1.6 which doesn't support None argument.
pip install tensorboard
pip install matplotlib
# install jupyter and ipython
conda install -c conda-forge nb_conda -y
# clone the IGEL dependency
git clone git@github.com:nur-ag/IGEL.git ../IGEL
# install igraph for IGEL and missing networkx
conda install -c conda-forge python-igraph -y
pip install networkx dill
# install torch-scatter, torch-cluster and torch-sparse
# note: this is hard to automate, and requires finding the appropriate version for your system
# using conda makes it easier, but your mileage may vary
conda install pytorch-scatter -c pyg -y
conda install pytorch-sparse -c pyg -y
conda install pytorch-cluster -c pyg -y