Sign In

webui-forge-NF4+GGuf

11
webui-forge-NF4+GGuf

*****************************************************************************

if you are already using webui forge just

git checkout latest
git pull
git checkout 3c4eb78 #check out latest stable comment from project as shown below
python launch.py

###################################################################

Installation Guide for stable-diffusion-webui-forge

This guide provides step-by-step instructions for installing and setting up the latest version of stable-diffusion-webui-forge.

Prerequisites

- Git

- Python 3.10 (tested)

- (Optional) Conda for environment management (better if u using multiple python versions)

Installation Steps from scratch

1. Clone the Repository

git clone https://github.com/lllyasviel/stable-diffusion-webui-forge
git checkout latest
git pull

2. Checkout the Latest Commit

https://github.com/lllyasviel/stable-diffusion-webui-forge

As of the latest update, use the following commit:

git checkout 3c4eb78

*****uninstall xformers if u faces any error related to it

3. Download the Models

  • 1(models)

  1. special merge model (gguf)

  2. special merge model (NF4)

  3. merged model of dev (gguf)

  4. official dev + schnell (gguf)

  5. official dev + schnell (nf4)

  6. fp8-e5m2+e4m3(include clip+vae)

  • 2 (clip+t5xx)

  1. clip(L)

  2. t5 fp16 or t5p8

    t5 GGUF not supported use normal

4. Set Up the Environment(use a or b)

Choose one of the following methods:

Option A: Python Virtual Environment

python -m venv .venv
source .venv/bin/activate
# Note: Use .venv/bin/activate.fish or .venv/bin/activate.zsh for Fish or Zsh shells respectively

Option B: Conda Environment (Recommended for flexibility)

First, install Conda following the official guide: [Conda Installation Guide](https://conda.io/projects/conda/en/latest/user-guide/install/index.html)

Then, create and activate a new environment:

conda create -n stableforge python=3.10 -y
conda activate stableforge

5. Initial Launch

After setting up your environment, run:

python launch.py

This will install necessary libraries and dependencies. Wait for the WebUI window to appear.

time period on rtx 3060 12 g GPU

6. Subsequent Launches

For future runs of the same version, use:

python webui.py

7. Updating

To update to a new version:

1. Activate your environment (if not already activated)

2. Checkout the new commit

3. Run the launch script again:

git checkout [new-commit-id]
python launch.py

Note

~~~~ i'm comfyui user ~~~~

Always ensure you're in the correct environment before running any commands or updating the installation.

11

Comments

Suzanne's Avatar

Thanks for that!

can you get controlnet and loras to work with the latest version of Forge, as this seems to be a problem for a lot of people if I've understood correctly?

Is it a problem with Flux?

AbdallahAlswa80's Avatar

no @comfyu gguf work perfect with lora , i will test lora on forge today