mirror of
https://github.com/lemonade-sdk/stable-diffusion.cpp.git
synced 2026-11-22 00:55:10 -10:00
stable-diffusion.cpp's Windows CUDA build fails with: fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj src/stable-diffusion.cpp combined with the CUDA backend's generated code exceeds MSVC's default COFF section limit per object file. The windows-latest-cmake job already works around the same class of issue with -DCMAKE_CXX_FLAGS='/bigobj'; apply the same flag to the CUDA build.