Create waifu_diffusion_webui_colab.sh
Browse files
waifu_diffusion_webui_colab.sh
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
nvidia-smi
|
| 2 |
+
apt-get update
|
| 3 |
+
pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+189828c.d20221207-cp38-cp38-linux_x86_64.whl
|
| 4 |
+
|
| 5 |
+
git clone https://github.com/camenduru/stable-diffusion-webui
|
| 6 |
+
git clone https://github.com/deforum-art/deforum-for-automatic1111-webui stable-diffusion-webui/extensions/deforum-for-automatic1111-webui
|
| 7 |
+
git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser
|
| 8 |
+
git clone https://github.com/camenduru/stable-diffusion-webui-huggingface stable-diffusion-webui/extensions/stable-diffusion-webui-huggingface
|
| 9 |
+
wget -P stable-diffusion-webui/localizations https://raw.githubusercontent.com/VinsonLaro/stable-diffusion-webui-chinese/main/Chinese-English.json
|
| 10 |
+
git clone https://github.com/d8ahazard/sd_dreambooth_extension stable-diffusion-webui/extensions/sd_dreambooth_extension
|
| 11 |
+
git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser
|
| 12 |
+
cd stable-diffusion-webui
|
| 13 |
+
|
| 14 |
+
wget https://huggingface.co/hakurei/waifu-diffusion-v1-3/resolve/main/wd-v1-3-float32.ckpt -O stable-diffusion-webui/models/Stable-diffusion/wd-v1-3-float32.ckpt
|
| 15 |
+
wget https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt -O stable-diffusion-webui/models/Stable-diffusion/wd-v1-3-float32.vae.pt
|
| 16 |
+
wget https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0-pruned-fp16.ckpt -O stable-diffusion-webui/models/Stable-diffusion/Anything-V3.0-pruned-fp16.ckpt
|
| 17 |
+
wget https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0.vae.pt -O stable-diffusion-webui/models/Stable-diffusion/Anything-V3.0.vae.pt
|
| 18 |
+
wget https://huggingface.co/guiyun/guiyun-model/resolve/main/hypernetworks/Hiten.pt -O stable-diffusion-webui/models/hypernetworks/Hiten.pt
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
wget https://raw.githubusercontent.com/VinsonLaro/stable-diffusion-webui-chinese/main/Chinese-English.json -O stable-diffusion-webui/localizations/Chinese-English.json
|
| 22 |
+
|
| 23 |
+
cd /openbayes/home/stable-diffusion-webui
|
| 24 |
+
python launch.py --share --xformers --port 8088
|