Automatic1111 SDXL on Vast.AI

Restart

Restart instance by complete instance restart. Or type the following to force a restart of the webui.

fuser -k 3000/tcp

High max dimension

Optional. If you want to generate at higher resolution, edit the UI config:

apt install nano -y
nano /workspace/stable-diffusion-webui/ui-config.json
{
  "txt2img/Width/maximum": 8192,
  "txt2img/Height/maximum": 8192,
}

Models

SDXL - already included in docker image

# SDXL 1.0 Base
cd /workspace/stable-diffusion-webui/models/Stable-diffusion
wget https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors

# SDXL 1.0 Refiner
cd /workspace/stable-diffusion-webui/models/Stable-diffusion
wget https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors

SDXL models not included in the docker image

# Fixed 0.9 VAE
cd /workspace/stable-diffusion-webui/models/VAE
wget https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/resolve/main/sdxl_vae.safetensors

# SDXL Offset Noise LoRA
cd /workspace/stable-diffusion-webui/models/Lora
wget https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_offset_example-lora_1.0.safetensors

# 4x_NMKD-Siax_200k upscaler
cd /workspace/stable-diffusion-webui/models/ESRGAN
wget https://huggingface.co/uwg/upscaler/resolve/main/ESRGAN/4x_NMKD-Siax_200k.pth

# 4x-UltraSharp upscaler
cd /workspace/stable-diffusion-webui/models/ESRGAN
wget https://huggingface.co/uwg/upscaler/resolve/main/ESRGAN/4x-UltraSharp.pth

Juggernaut XL

https://civitai.com/models/133005open in new window

cd /workspace/stable-diffusion-webui/models/Stable-diffusion
wget 'https://civitai.com/api/download/models/146359' --content-disposition

RunDiffusion XL

https://civitai.com/models/120964/rundiffusion-xlopen in new window

cd /workspace/stable-diffusion-webui/models/Stable-diffusion
wget 'https://civitai.com/api/download/models/131579' --content-disposition

Lora

Juggernaut Cinematic XL LoRA

https://civitai.com/models/120663?modelVersionId=131991open in new window

cd /workspace/stable-diffusion-webui/models/Lora
wget https://civitai.com/api/download/models/131991 --content-disposition

Triggers

MOVIE STILL
FILM STILL
CINEMATIC
CINEMATIC SHOT
CINEMATIC LIGHTING

Extensions

# face editor
cd /workspace/stable-diffusion-webui/extensions
git clone https://github.com/ototadana/sd-face-editor.git

# Refiner
cd /workspace/stable-diffusion-webui/extensions
git clone https://github.com/wcde/sd-webui-refiner.git

# Dynamic prompts
cd /workspace/stable-diffusion-webui/extensions
git clone https://github.com/adieyal/sd-dynamic-prompts.git

# SDXL Style Selector
cd /workspace/stable-diffusion-webui/extensions
git clone https://github.com/ahgsql/StyleSelectorXL.git

## Ultimate SD Upscale
cd /workspace/stable-diffusion-webui/extensions
git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111


Upscalers

https://upscale.wiki/wiki/Model_Databaseopen in new window

https://upscale.wiki/wiki/Official_Research_Modelsopen in new window

4x_foolhardy_Remacri

cd /workspace/stable-diffusion-webui/models/ESRGAN
wget https://huggingface.co/FacehugmanIII/4x_foolhardy_Remacri/resolve/main/4x_foolhardy_Remacri.pth

4x_NMKD-Siax_200k

cd /workspace/stable-diffusion-webui/models/ESRGAN
wget https://huggingface.co/Akumetsu971/SD_Anime_Futuristic_Armor/resolve/main/4x_NMKD-Siax_200k.pth
Last Updated: