forked from LuoUndergradXJTU/TwiBot-22
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcommands_local.sh
executable file
·36 lines (34 loc) · 2.06 KB
/
commands_local.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
# Use conda anaconda3/2023.3
conda create --name botbusters python==3.7.1
conda activate botbusters
conda install --name botbusters pytorch==1.9.1 torchvision==0.10.1 torchaudio==0.9.1 cudatoolkit=10.2 -c pytorch -y
conda install --name botbusters pyg -c pyg -c conda-forge -y
conda install --name botbusters -c huggingface tokenizers==0.10.1 -y
conda install --name botbusters -c conda-forge transformers==4.4.2 -y
conda install --name botbusters importlib-metadata -y
conda install --name botbusters packaging==21.3 -y
conda install --name botbusters tqdm -y
conda install --name botbusters -c conda-forge matplotlib -y
conda install --name botbusters scikit-learn -y
# conda install -p /scratch/network/rr4001/projects/voon/envs/botbusters/ python-louvain -y
# conda install -p /scratch/network/rr4001/projects/voon/envs/botbusters/ leidenalg -y
conda install --name botbusters python-louvain -y
#### For python 3.9, torch 2.0.1 and cuda 11.7 ###
# conda create --name botbusters python==3.9
# conda activate botbusters
# conda install --name botbusters pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia -y
# conda install --name botbusters -c huggingface tokenizers -y
# conda install --name botbusters -c conda-forge transformers==4.4.2 -y
# conda install --name botbusters importlib-metadata -y
# conda install --name botbusters packaging==21.3 -y
# conda install --name botbusters tqdm -y
# conda install --name botbusters -c conda-forge matplotlib -y
# conda install --name botbusters scikit-learn -y
# pip install pyyaml
# pip install pandas==1.3.5
# pip install --upgrade --force-reinstall torch -f https://data.pyg.org/whl/torch-2.0.1+cu117.html
# pip install --upgrade --force-reinstall torch-geometric -f https://data.pyg.org/whl/torch-2.0.1+cu117.html
# pip install --upgrade --force-reinstall torch-sparse -f https://data.pyg.org/whl/torch-2.0.1+cu117.html
# pip install --upgrade --force-reinstall torch-scatter -f https://data.pyg.org/whl/torch-2.0.1+cu117.html
# pip install --upgrade --force-reinstall tokenizers
# pip install --upgrade --force-reinstall transformers