- AMD GPU with at least 8GB VRAM
- One of: Python 3.7, 3.8, 3.9, or 3.10 | Download from https://www.python.org/
- Git | Download from https://git-scm.com/downloads
- Download the whole repo, place in a drive with large enough space
- Double click on
start.bat
to install & run. This will create a new Python virtual environment and install all required libraries. The installation can take up to 5 mins depending on your machine. At the end of the installation, you'll see the program crash with the following error that NO module named "diffusers":
- Close the black screen (command prompt), and re-open
start.bat
, a web-ui should appear shortly
- Copy your Huggingface access token from Huggingface, paste into the first textbox on the "Settings" tab, click on
Login Huggingface
. You should see "login successful" message on the next textbox on the same tab.
-
Once successfully logged into Huggingface, head to Model Manager tab, enter the model name found on huggingface, for example:
stabilityai/stable-diffusion-2
-
Click on Download model. This step will download the diffuers model and then convert them into onnx format. This step can take up to 10-30 mins depends on your internet connection and CPU speed
-
Monitor the blackscreen, once the model download & conversion is done, you'll see "Uninstalling onnx....". Then close the command prompt, and re-open
start.bat
again. -
You should see available models appear in the
Select a model
dropdown on the txt2img tab, select a model and wait for it to load -
During image generation, the blackscreen should show something like this:
-
If the blackscreen show something about "DmlExecutionProvider" is not in available provider names, then you are using CPU for image generation and something has gone wrong, contact me if this happens to you
-
Enjoy :)