Skip to content
dizaknzPublic

About

App for local stable-diffusion.cpp and Qwen Image

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

SD App

Basic GUI to simplify running stable-diffusion.cpp with Qwen Image.

Uses

Disclaimer

This is a dev WIP that currently only supports Qwen Image for generation, no editing support.

Note

Parts co-authored with AI.

Manual Setup

Tested on Windows only

  • MSVC 194 using C++20
  • vscode
  • cmake
  • conan

Thirdparty

stable-diffusion.cpp needs to be compiled from source and setup as a dependency, not using conan2 but submoduled in.

git submodule update --init --recursive

Conan

Install conan

pip install conan

or using uv

uv tool install conan

To create a default profile for build system run

conan profile detect --force

Project

Install project depedencies

mkdir build
conan install . --output-folder=build --build=missing

Setup cmake

cmake -B build -S . -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=./build/conan_provider.cmake 

By default it's configured for CUDA architectures 61 and 86, to override add -DCMAKE_CUDA_ARCHITECTURES

Build

cd build
cmake --build .

Run test

ctest --output-on-failure

Formatting

find . -wholename 'app/*.cpp' -o -wholename 'include/*.h' -o -wholename 'src/*.cpp' | xargs clang-format -style=file

About

App for local stable-diffusion.cpp and Qwen Image

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages