| apt -y update -qq | |
| wget http://launchpadlibrarian.net/367274644/libgoogle-perftools-dev_2.5-2.2ubuntu3_amd64.deb | |
| wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/google-perftools_2.5-2.2ubuntu3_all.deb | |
| wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/libtcmalloc-minimal4_2.5-2.2ubuntu3_amd64.deb | |
| wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/libgoogle-perftools4_2.5-2.2ubuntu3_amd64.deb | |
| apt install -qq libunwind8-dev | |
| dpkg -i *.deb | |
| rm *.deb | |
| pip install -q torch==2.0.0+cu118 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 | |
| pip install -q xformers==0.0.19 triton==2.0.0 -U | |
| git clone -b mobiver https://github.com/phamhungd/sdvn-auto /content/SDVN | |
| aria2c --continue --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt -d /content/SDVN/models/Stable-diffusion -o VAE84.vae.pt | |
| aria2c --continue --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lokCX/4x-Ultrasharp/resolve/main/4x-UltraSharp.pth -d /content/SDVN/models/ESRGAN -o 4x-UltraSharp.pth | |
| git clone https://github.com/phamhungd/WC-SDVN /content/SDVN/extensions/sd-dynamic-prompts/wildcards/WC-SDVN | |
| git clone https://github.com/zanllp/sd-webui-infinite-image-browsing /content/SDVN/extensions/Image-browsing |