Skip to content

Dependencies

YesYouKen edited this page Jun 7, 2023 · 10 revisions

Required Dependencies

  1. 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
  2. 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".
    • 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.

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.

Clone this wiki locally