Skip to content

Complete installer for Automatic1111's infamous Stable Diffusion WebUI

Notifications You must be signed in to change notification settings

feimaogit/A1111-Web-UI-Installer

 
 

Repository files navigation

A1111 WebUI Easy Installer and Launcher

This is an unofficial simplified installer for Automatic1111's Stable Diffusion WebUI

For simple installation, download the Latest Realease (.exe) and follow the Installation Instructions

If you want to improve the installer, git clone or Fork & Pull Request (this project mainly uses Advanced Installer and Powershell)

INSTALLING

⚠️ WARNING ⚠️

  • This only Works on Windows 10 and 11 x64
  • This has only been tested on NVIDIA Graphics Cards (Make sure your drivers are up to date ! )
  • This installer installs the original Automatic1111 Stable Diffusion WebUI repository but is not affiliated with it, if you get questions or errors after seeing Commit Hash: XXXXXXX in the command window, after clicking LAUNCH WEBUI, they'll be related to the WebUI itself and not this installer, so do not ask or report them here, but here
  • On the other hand, if you find a glitch before that or have a feature request, please fill an issue and more importantly join the r/StableDiffusion discord to discuss the project and get general help about the WebUI

⚠️ This installer will always clone the latest bleeding edge update of the WebUI. Some Updates can break it

The Installer

  1. Download the latest release and run it

  2. If everything goes right you'll be greated with this screen : Installer

  3. Select where you want to install the WebUI

    Default is fine but if you want to install things somewhere else, it is highly recommended to do it in a dedicated empty folder, else it's going to be pretty messy

  4. "Clean Install": Keep it checked if this is your first install via this Auto Installer. Uncheck it if you only want to update the Launcher and keep your existing WebUI intact (with your settings/models/extensions etc.)

    Note (experimented users only): It may be possible to add the Launcher to an existing WebUI folder that you had previously manually git cloned, as long as you move the WebUI folder into a dedicated folder, and chose said folder as the Install Path during the install. But you might encounter errors, and you should probably delete the venv folder inside the stable-diffusion-webui folder for it to work well

  5. Click Install and remember, this can take a while

  6. Once installed, a folder will open with a shortcut called A1111 WebUI (Pin to Taskbar)

  7. You can drag & drop it on your taskbar if you wish, this is the launcher for the WebUI

  8. Launch the shortcut to open the Custom Launcher

  9. It should install all the dependencies and ask you if you want to download the base SD model to generate images

    ⚠️Click "No" only if you already have one or more models somewhere, and if so don't forget to select their parent folders in the launcher

  10. Once you've set the launcher according to your preferences, click LAUNCH WEBUI, this will quit the launcher and proceed in the terminal window, logging what it's doing

    ⚠️Be patient this will take a while at first, when it's ready, it will open the webUI in your browser

    ⚠️Read the WARN message

  11. When you're done using the WebUI, close the browser tab & close the terminal window

THE LAUNCHER

When double clicking A1111 WebUI (Pin to Taskbar) You should be greeted with the launcher

Launcher

Features

WebUI Maintenance Settings

  • Browse: This will browse to the stable-diffusion-webui folder
  • Reset: This will wipe the stable-diffusion-webui folder and reclone it from github

    ⚠️ The folder is permanently deleted so make some back ups if needed ! A pop up will ask you for confirmation

  • Auto-Update WebUI : This will update (git pull) the WebUI everytime you launch it
  • Auto-Update Extensions : Same thing but with the extensions
  • Clear Generated Images : This will clear all previously generated images from the outputs folder at launch.

    ⚠️ The images are permanently deleted ! A pop up will ask you for confirmation

The Force buttons next to the above functions will execute the relevant function as soon as you click instead of waiting for launch

Note: If you have a custom output folder, only the folder specified in the "Output directory for images; if empty, defaults to three directories below" field in the WebUI settings will be cleared.

Launch Options

  • Low VRAM : Allows cards with low VRAM to be able to generate images, this will increase render time, but will make things smooth
  • Xformers : Greatly speeds up RTX 3000 / 4000 cards, can sometimes work with previous gens cards as well !
  • Checkpoint Folder : If you don't have a specific checkpoint folder, do not click this, else select it there 💡click the path to reset
  • Default VAE : This will allow you to select a default separate for all models VAE file 💡click the path to reset
  • Additional Arguments : If you know what you're doing, you can add additional launch arguments for the UI here, as you would have done in webui-user.bat. You can also click on the text to see all the arguments available.

    ⚠️ Click SAVE to confirm the additional arguments, else they won't be saved

Misc

  • Launch Options Overview for easy verification & debug
  • Launcher Version displayed
  • Main GPU & VRAM displayed
  • Ablity to copy the WebUI Commit Hash (practical for opening GitHub issues)
  • Direct link to the Issues section of the Installer/Launcher Github
  • Direct link to the Issues section of the WebUI

Launcher launch options

You can add launch options to the launcher itself by adding them at the end of the "A1111 WebUI (Pin to Taskbar)" shortcut target

  • skip : This goes straight to the Stable Diffusion WebUI with your existing settings without displaying the Launcher UI
  • no-autolaunch : This will launch the WebUI server without opening it when you click LAUNCH WEBUI, so you can just browser to http://127.0.0.1:7860/ on your preferred browser

About

Complete installer for Automatic1111's infamous Stable Diffusion WebUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 94.3%
  • PowerShell 5.3%
  • Rich Text Format 0.4%