mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-28 10:25:05 +08:00
Page:
Dependencies
Pages
API
Change model folder location
Command Line Arguments and Settings
Containers
Contributing
Custom Images Filename Name and Subdirectory
Custom Scripts
Dependencies
Developing custom scripts
Developing extensions
Extensions index
Extensions
Features
Guides and Tutorials
Home
How to make your own Inpainting model
How to switch to different versions of WebUI
Install and Run on AMD GPUs
Install and Run on NVidia GPUs
Installation on Apple Silicon
List of Time Zones
Localization
Negative prompt
On the benefits of writing short, concise code
Online Services
Optimizations
Optimum SDXL Usage
Seed breaking changes
Tests
Textual Inversion
Troubleshooting
User Interface Customizations
Xformers
10
Dependencies
YesYouKen edited this page 2023-06-07 13:06:59 +08:00
Table of Contents
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://github.com/AUTOMATIC1111/stable-diffusion-webui.git
.- This way is preferred 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 preferred 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:
Optional Dependencies
ESRGAN (Upscaling)
Additional finetuned 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.
Setup
- Install and run on NVidia GPUs
- Install and run on AMD GPUs
- Install and run on Apple Silicon
- Install and run on Intel Silicon (external wiki page)
- Install and run via container (i.e. Docker)
- Run via online services
Reproducing images / troubleshooting
Usage
- Features
- Command Line Arguments and Settings
- Optimizations
- Custom Filename Name and Subdirectory
- Change model folder location e.g. external disk
- User Interface Customizations
- Guides and Tutorials
Developers
This is the Stable Diffusion web UI wiki. Wiki Home