Page:
Dependencies
Pages
Change UI Defaults
Command Line Arguments and Settings
Custom Images Filename Name and Subdirectory
Custom Scripts
Dependencies
Developing custom scripts
Developing extensions
Extensions index
Extensions
Features
Home
Install and Run on AMD GPUs
Install and Run on NVidia GPUs
Installation on Apple Silicon
Negative prompt
Online Services
Optimizations
Seed breaking changes
Tests
Textual Inversion
Troubleshooting
Xformers
1
Dependencies
ra edited this page 2023-01-05 15:01:25 +00:00
Required Dependencies
- Python 3.10.6 and Git:
- Windows: download and run installers for Python 3.10.6 (webpage, exe, or win7 version) and git (webpage)
- Linux (Debian-based):
sudo apt install wget git python3 python3-venv
- Linux (Red Hat-based):
sudo dnf install wget git python3
- Linux (Arch-based):
sudo pacman -S wget git python3
- Code from this repository:
- preferred way: using git:
git clone https://git.tcp.direct/Mirrors/stable-diffusion-webui.git
.- This way is referred because it lets you update by just running
git pull
. - Those commands can be used from command line window that opens after you right click in Explorer and select "Git Bash here".
- This way is referred because it lets you update by just running
- alternative way: use the "Code" (green button) -> "Download ZIP" option on the main page of the repo.
- You still need to install git even if you choose this.
- To update, you'll have to download zip again and replace files.
- preferred way: using git:
- The Stable Diffusion model checkpoint, a file with
.ckpt
extension, needs to be downloaded and placed in themodels/Stable-diffusion
directory.- Official download
- File storage
- Torrent (magnet:?xt=urn:btih:3a4a612d75ed088ea542acac52f9f45987488d1c&dn=sd-v1-4.ckpt&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337)
Optional Dependencies
ESRGAN (Upscaling)
ESRGAN models such as those from the Model Database, may be placed into the ESRGAN directory. ESRGAN directory doesn't exist in the repo, until you run for the first time.
The models will be loaded as a model if it has .pth
extension, and it will show up with its name in the UI.
Note: RealESRGAN models are not ESRGAN models, they are not compatible. Do not download RealESRGAN models. Do not place RealESRGAN into the directory with ESRGAN models.
.yaml files for sd 2.x models
Download config .yaml file and store it in same folder as .ckpt with the same name.
This is the Stable Diffusion web UI wiki. Wiki Home