-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.sh
40 lines (26 loc) · 1.27 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
python -m pip install -r requirements_latest.txt
python -m pip install -e .
# python -m pip install -e gym_pcgrl
# NOTE: only need this for evolving diverse generators, not RL.
# python -m pip install -e submodules/qdpy
####### Installing torch: #######
# for CPU
# conda install pytorch torchvision torchaudio -c pytorch
# RUN: nvcc --version to check your CUDA version
# for most GPUs (?)
# conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
# for cuda version 11.6 on linux
# conda install pytorch pytorch-cuda=11.6 -c pytorch -c nvidia
# for 3090
# conda install pytorch torchvision cudatoolkit=11.3 -c pytorch
# # M1 mac users, if want to use GPU (MPS acceleration)): (# MPS acceleration is available on MacOS 12.3+ and no need to install nightly now)
# conda install pytorch torchvision -c pytorch
#################################
# GUI libraries for rendering (and controlling) controllable agents.
conda install -c conda-forge pygobject gtk3
# Installing minerl:
# python -m pip install --upgrade minerl
# Installing hydra:
# python -m pip install --upgrade hydra-core
# store hyperparam sweeps in separate files (in "experiments") will only work with hydra 1.2.0, but not 100% sure.
# python -m pip install --upgrade hydra-submitit-launcher