Commit
·
e8240c7
1
Parent(s):
2e41c20
Create sdbasic.txt
Browse files- sdbasic.txt +33 -0
sdbasic.txt
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apt -y update -qq
|
2 |
+
%env LD_PRELOAD=/content/rundata/libtcmalloc_minimal.so.4
|
3 |
+
|
4 |
+
pip install -q torch==2.0.0+cu118 torchmetrics==0.11.4 torchvision==0.15.1+cu118 torchaudio==2.0.1+cu118 torchtext==0.15.1 torchdata==0.6.0 --extra-index-url https://download.pytorch.org/whl/cu118 -U
|
5 |
+
pip install -q xformers==0.0.19 triton==2.0.0 -U
|
6 |
+
|
7 |
+
rm -r /content/drive/MyDrive/SD-Data/Embeddings/embeddings
|
8 |
+
rm -r /content/drive/MyDrive/SD-Data/Embeddings/Negative
|
9 |
+
rm -r /content/drive/MyDrive/SD-Data/Lora/Lora
|
10 |
+
rm -r /content/drive/MyDrive/SD-Data/Model/Stable-diffusion
|
11 |
+
rm -r /content/drive/MyDrive/SD-Data/wildcards/WC-SDVN
|
12 |
+
|
13 |
+
git clone https://github.com/bstungnguyen/stablediffusion /content/SDVN
|
14 |
+
git clone https://github.com/Mikubill/sd-webui-controlnet /content/SDVN/extensions/sd-webui-controlnet
|
15 |
+
git clone https://github.com/camenduru/sd-webui-tunnels /content/SDVN/extensions/sd-webui-tunnels
|
16 |
+
git clone https://github.com/kohya-ss/sd-webui-additional-networks /content/SDVN/extensions/Additional-networks
|
17 |
+
git clone https://github.com/Vetchems/sd-civitai-browser /content/SDVN/extensions/Civitai
|
18 |
+
git clone https://github.com/fkunn1326/openpose-editor /content/SDVN/extensions/Openpose-editor
|
19 |
+
git clone https://github.com/huchenlei/sd-webui-openpose-editor /content/SDVN/extensions/OpenposeEditor
|
20 |
+
git clone https://github.com/hako-mikan/sd-webui-lora-block-weight /content/SDVN/extensions/Block-weight
|
21 |
+
git clone https://github.com/thomasasfk/sd-webui-aspect-ratio-helper /content/SDVN/extensions/AR-helper
|
22 |
+
git clone https://github.com/adieyal/sd-dynamic-prompts /content/SDVN/extensions/Dynamic-prompts
|
23 |
+
git clone https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris /content/SDVN/extensions/Lycoris
|
24 |
+
git clone https://github.com/hako-mikan/sd-webui-regional-prompter /content/SDVN/extensions/A6-Regional-prompter
|
25 |
+
git clone https://github.com/Bing-su/Adetailer /content/SDVN/extensions/A2-Adetailer
|
26 |
+
git clone https://github.com/DominikDoom/a1111-sd-webui-tagcomplete /content/SDVN/extensions/Tagcomplete
|
27 |
+
git clone https://git.mmaker.moe/mmaker/sd-webui-color-enhance.git /content/SDVN/extensions/Color-enhance
|
28 |
+
|
29 |
+
git clone https://github.com/camenduru/stable-diffusion-webui-scripts /content/SDVN/addscripts
|
30 |
+
|
31 |
+
aria2c --continue --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/bstungnguyen/SDColab/resolve/main/params.txt -d /content/SDVN/ -o params.txt
|
32 |
+
aria2c --continue --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/bstungnguyen/SDColab/resolve/main/ui-config.json -d /content/SDVN/ -o ui-config.json
|
33 |
+
aria2c --continue --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/bstungnguyen/SDColab/resolve/main/localization.json -d /content/SDVN/localizations
|