Required Software for Stable Diffusion

From Stable Diffusion Wiki
Jump to navigation Jump to search

Python: An Overview

Python is a high-level, interpreted programming language known for its simplicity and readability. It is widely used for various types of programming and development, including web development, data analysis, scientific computing, and artificial intelligence. Python's extensive library support and community-driven resources make it an attractive option for both beginners and professionals. Its versatility has led to its adoption in many industries, contributing to advancements in technology and research. As of 08/2023, the required version of Python for Automatic1111 is Python 310.6 as newer versions do not support torch.

Automatic1111 WebUI: An Overview

Automatic1111 gui.png

Automatic1111 WebUI is a web browser interface specifically designed for operating Stable Diffusion using cloud GPUs. This interface enables users to run, train, and deploy Stable Diffusion models with a single click, without any initial setup required within the web browser. The platform also benefits from thousands of user-contributed models and extensions, fostering an environment for enhanced AI art creation.

Click here for more info on Automatic1111

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
      • 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.