-
Notifications
You must be signed in to change notification settings - Fork 9
Installation Guide
The Windows installer typically installs the application into the following directory:
C:\Program Files\
There are two main binaries included in the project:
-
StableDiffusionGUI
- Executable:
stablediffusiongui.exe
- Executable:
-
StableDiffusionGUI Diffuser
- Executable:
stablediffusiongui_diffuser.exe
- Executable:
The application includes several shared libraries to support different functionalities:
-
AVX Support
- Linux:
libstablediffusion_avx.so
- Windows:
stablediffusion_avx.dll
- Linux:
-
AVX2 Support
- Linux:
libstablediffusion_avx2.so
- Windows:
stablediffusion_avx2.dll
- Linux:
-
AVX512 Support
- Linux:
libstablediffusion_avx512.so
- Windows:
stablediffusion_avx512.dll
- Linux:
-
CUDA Support
- Linux:
libstablediffusion_cuda.so
- Windows:
stablediffusion_cuda.dll
- Linux:
-
HIPBLAS Support
- Linux:
libstablediffusion_hipblas.so
- Windows:
stablediffusion_hipblas.dll
- Linux:
-
Windows: The application searches for the
.dll
files in the same directory as the.exe
files. -
Linux (Ubuntu): Shared libraries are installed into
/usr/lib
. Ensure this path is included in theLD_LIBRARY_PATH
environment variable.
On both Ubuntu and Windows, the binaries are added to the PATH
environment variable to allow easy execution from the command line.
On Linux systems, particularly Ubuntu, the .deb
packages install the application into the appropriate system directories.
Similar to Windows, the project includes the following binaries:
-
StableDiffusionGUI
- Executable:
stablediffusiongui
- Executable:
-
StableDiffusionGUI Diffuser
- Executable:
stablediffusiongui_diffuser
- Executable:
The shared libraries are installed to /usr/lib
and must be included in the LD_LIBRARY_PATH
:
export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
Upon startup, the main application searches for available backends (CPU/GPU). If a backend is found, it starts a backend process (stablediffusiongui_diffuser
) and loads the appropriate library provided as a parameter. For example:
/usr/bin/stablediffusiongui_diffuser libstable-diffusion_cuda
Feature | Linux Library | Windows DLL |
---|---|---|
AVX | libstablediffusion_avx.so |
stablediffusion_avx.dll |
AVX2 | libstablediffusion_avx2.so |
stablediffusion_avx2.dll |
AVX512 | libstablediffusion_avx512.so |
stablediffusion_avx512.dll |
CUDA | libstablediffusion_cuda.so |
stablediffusion_cuda.dll |
HIPBLAS | libstablediffusion_hipblas.so |
stablediffusion_hipblas.dll |
- Ensure that all shared libraries are correctly placed in their respective directories and that environment variables (
LD_LIBRARY_PATH
on Linux andPATH
on Windows) are properly configured. - The backend process is essential for leveraging different computational backends like CPU or GPU for optimal performance.
To find out what paths's are used, please run the application, on the main screen, select the cube "About" icon:
The application's app.log file is in the "Data folder"