Skip to content

ffxvs/sd-webui-complete-setup

Repository files navigation

Stable Diffusion Webui Complete Setup

Jupyter notebook for Stable Diffusion Web UI and Stable Diffusion Web UI Forge.

Notebook_preview

Features

  • SD Web UI and SD Web UI Forge
  • Support for Paperspace and Runpod
  • Using small Docker containers under 5GB
  • Notebook for installing Web UI, downloading SD v1.5 and SDXL models.
  • Checking the latest version of the notebook.
  • Storing resources such as models, loRA, embeddings, outputs in shared storage.
  • List of some popular extensions.
  • List of several popular models in 4 categories, namely Anime/Cartoon/3D, General Purpose, Realistic, Woman.
  • List of some useful resources for loRA, embedding, upscaler, and VAE.
  • Install extensions, loRA, embedding, upscaler, VAE from URLs.

How to use

Paperspace

  1. Sign up and subscribe to one of the subscription plans (Pro or Growth)
  2. Create a project then create a notebook in it.
  3. Select the "Start from Scratch" template
  4. Choose one of the free GPUs with at least 16GB VRAM (except Free-P5000).
  5. Set the Auto-shutdown timeout to 6 hours.
  6. Click View Advanced Options.
  7. Fill in the Container's name and command field as follows and leave other field blank. Just click copy button on the right.
    • Container's name
      • SD Web UI
        ffxvs/sd-webui-containers:auto1111-latest
        
      • SD Web UI Forge
        ffxvs/sd-webui-containers:forge-latest
        
    • Container's command
      bash /paperspace-start.sh
      
  8. Start notebook and wait until the machine is running.
  9. Duplicate your tab to keep the console open. Then click the "Open in Jupyterlab" button (the orange circle icon) in the left sidebar.
  10. There will be 3 ipynb notebook files.
  • sd_webui_paperspace.ipynb or sd_webui_forge_paperspace.ipynb for installing Web UI.
  • sd15_resource_lists.ipynb for downloading SD v1.5 models.
  • sdxl_resource_lists.ipynb for downloading SDXL models.
  1. Read Paperspace Guide and Resource Lists Guide to use the notebooks.

Runpod

  1. Sign up and add some credit to your balance.
  2. Open one of these template to create a Pod : SD Web UI / SD Web UI Forge
  3. Make sure the template is :
    • SD Web UI : ffxvs/sd-webui-containers:auto1111-latest
    • SD Web UI Forge : ffxvs/sd-webui-containers:forge-latest
  4. Select Secure Cloud if you want to use Network Volume (Persistent Storage), or Community Cloud if you want to use cheaper GPU.
  5. Choose a GPU with at least 16GB VRAM, for example RTX A4000, RTX A4500, RTX 3090.
  6. Continue and Deploy, then go to My Pods. Wait until the Pod is ready.
  7. On the Pod you just created, click Connect then Connect to HTTP Service [Port 8888] to open Jupyterlab.
  8. There will be 3 ipynb notebook files.
    • sd_webui_runpod.ipynb or sd_webui_forge_runpod.ipynb for installing Web UI.
    • sd15_resource_lists.ipynb for downloading SD v1.5 models.
    • sdxl_resource_lists.ipynb for downloading SDXL models.
  9. Read Runpod Guide and Resource Lists Guide to use the notebooks.
  10. You can click Connect to HTTP Service [Port 3001] after installing and launching the Web UI.
  11. Stop the Pod if you don't use it anymore. Terminate the pod to delete the Pod and its content. Don't forget to download images you generated.

Download Notebooks manually

In case you can't download the latest notebooks from Check for Updates cell, you can download them manually from the links below :


Credits