-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·74 lines (66 loc) · 1.39 KB
/
install.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/bin/sh
. /opt/anaconda/bin/activate
conda create -n everydream
conda activate everydream
DIR="${HOME}/every_dream_2_setup"
mkdir -pv -- "${DIR}"
cd "${DIR}"
conda install \
cython \
ipython \
jupyter \
jupyterlab \
matplotlib \
nbconvert \
numpy \
opencv \
pandas \
python=3.10 \
scikit-learn \
scikit-learn-intelex \
scipy \
tqdm \
pyqt \
jinja2 \
;
conda install -c conda-forge \
termcolor \
streamlit \
pudb \
;
pip install -U \
'accelerate' \
'aiohttp' \
'alive-progress' \
'bitsandbytes' \
'colorama' \
'diffusers' \
'ftfy' \
'keyboard' \
'lion-pytorch' \
'matplotlib' \
'OmegaConf' \
'pynvml' \
'pyre-extensions' \
'pytorch-lightning' \
'tensorboard' \
'torch==1.13.1' \
'torchaudio==0.13.1' \
'torchvision==0.14.1' \
'tqdm' \
'transformers' \
'triton' \
'wandb' \
'watchdog' \
'xformers' \
;
git clone 'https://github.com/victorchall/EveryDream2trainer.git'
cd 'EveryDream2trainer'
aria2c -c -x16 'https://huggingface.co/panopstor/EveryDream/resolve/main/sd_v1-5_vae.ckpt'
aria2c -c -x16 'https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/main/v2-1_768-nonema-pruned.ckpt'
cd "${HOME}"
mkdir -pv -- 'huggingface'
cd 'huggingface'
git clone 'https://github.com/huggingface/diffusers.git'
cd 'diffusers'
pip install -e .