mirror of
https://github.com/lemonade-sdk/stable-diffusion.cpp.git
synced 2026-11-23 17:59:29 -10:00
Add -DGGML_CUDA=ON and -DCMAKE_CUDA_COMPILER explicitly to the Linux CUDA cmake invocation so CUDA is actually compiled instead of silently falling back to CPU when auto-detection fails. Widen the ggml artifact collection from libggml-cuda.so only to libggml*.so* (Linux) and ggml*.dll (Windows) to capture all ggml shared libraries (core, base backend, cuda backend) regardless of where cmake places them in the build tree. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>