Installing Forge‐Zluda - brknsoul/ROCmLibs GitHub Wiki

This guide assumes you have git and python installed, and are comfortable using the command prompt, navigating Windows Explorer, renaming files and folders, and working with 7-zip files.

(Note: You may have to install 7-Zip to unzip the .7z files.)

For more info about Forge-Zluda, see the repo here: https://github.com/lshqqytiger/stable-diffusion-webui-amdgpu-forge

Installing lshqqytiger's AMD GPU Forge fork

  1. Install HIP SDK 5.7.1 from https://www.amd.com/en/developer/resources/rocm-hub/hip-sdk.html
    ❗❗ Do NOT install version 6.1.2.
  2. Go to https://rocm.docs.amd.com/projects/install-on-windows/en/develop/reference/system-requirements.html and find your GPU model.
  • If your GPU model has a ✅ in both columns then skip to step 5.
  • If your GPU model has an ❌ in the HIP SDK column, or if your GPU isn't listed, follow the instructions below;
  1. Extract the downloaded file to C:\Program Files\AMD\ROCm\5.7\bin\rocblas\library, overwriting files.
  2. Open command prompt/terminal where you want to install.
  3. Run git clone https://github.com/lshqqytiger/stable-diffusion-webui-amdgpu-forge
  4. Navigate to the stable-diffusion-webui-amdgpu-forge folder.
  5. Edit webui-user.bat with notepad.
  6. Change set COMMANDLINE_ARGS= to;
    set COMMANDLINE_ARGS=--zluda --theme dark
  7. Save and exit.
  8. Run webui-user.bat

Note

The very first generation will take a while, and it will seem that Forge isn't doing anything. Zluda is creating a database, which can take a few minutes. Be patient and your generation will eventually start. This only happens once and subsequent generations will be much quicker.