stable-diffusion.cpp/src
Claude 6bb3b8de16
fix: load the CUDA driver at run time so the library starts without it
stable-diffusion.dll linked the driver import library only to read the
compute capability of the device, so it imported nvcuda.dll at load time. On a
machine without an NVIDIA driver, such as the CI runner, sd-cli.exe could not
start at all (status 127 in Git Bash): the smoke test of the cuda12 portable
package failed, and the package would not have run on a CPU-only PC either.

The three driver functions are now looked up with LoadLibraryEx/dlopen the
first time a CUDA device is queried, and the library no longer links the driver.

The smoke test of the portable workflow now lists the DLLs a Windows
executable imports, and the ones that cannot be found, when it fails to start.

Claude-Session: https://claude.ai/code/session_01EhZzDBkuuMp1jBf4WtEySC
2026-10-11 12:51:59 +02:00
..
conditioning feat: add Iris-3B text-to-image support (#2117) 2026-10-10 01:39:49 +08:00
core fix: load the CUDA driver at run time so the library starts without it 2026-10-11 12:51:59 +02:00
extensions feat: support external Hugging Face tokenizer JSON files (#1973) 2026-09-15 00:27:39 +08:00
model feat: add TAEQI2.1 support for Qwen Image 2.1 (#2123) 2026-10-11 00:01:18 +08:00
model_io fix: keep model file handles open between tensor loads 2026-10-11 06:09:49 +02:00
pipeline feat: report why a call failed and expose system memory 2026-10-11 07:09:28 +02:00
runtime refactor: unify circular and non-circular tiling (#2105) 2026-10-06 19:20:44 +08:00
tokenizers refactor: escape newlines in prompt logs and clarify source separators (#2106) 2026-10-06 19:51:12 +08:00
convert.cpp feat: support for merging LoRA weights on model conversion (#2079) 2026-10-06 17:50:16 +08:00
detailer.cpp feat: add configurable image input preprocessing (#2028) 2026-09-23 02:12:49 +08:00
detailer.h feat: add ADetailer support (#1785) 2026-07-14 23:59:11 +08:00
device_residency_manager.h feat: run CPU graphs in segments when weights stream from disk 2026-10-11 06:39:34 +02:00
model.h feat: add Iris-3B text-to-image support (#2117) 2026-10-10 01:39:49 +08:00
model_component.h feat: add Wan2.2 S2V (audio+img-to-video) support (#1925) 2026-09-13 23:33:50 +08:00
model_loader.cpp feat: report why a call failed and expose system memory 2026-10-11 07:09:28 +02:00
model_loader.h fix: keep model file handles open between tensor loads 2026-10-11 06:09:49 +02:00
model_loader_files.cpp fix: keep model file handles open between tensor loads 2026-10-11 06:09:49 +02:00
model_manager.cpp feat: report why a call failed and expose system memory 2026-10-11 07:09:28 +02:00
model_manager.h feat: run CPU graphs in segments when weights stream from disk 2026-10-11 06:39:34 +02:00
model_manager_files.cpp refactor: align PixArt weights with upstream layout (#2061) 2026-09-26 02:03:05 +08:00
model_manager_prefetch.cpp fix: load INT8 convrot LLM embeddings correctly (#2067) 2026-09-27 19:46:21 +08:00
name_conversion.cpp feat: add Z-Image L2P support (#2075) 2026-10-06 17:23:21 +08:00
name_conversion.h refactor: reorganize the file structure (#1266) 2026-02-10 23:13:35 +08:00
stable-diffusion.cpp feat: report why a call failed and expose system memory 2026-10-11 07:09:28 +02:00
upscaler.cpp feat: add a stand-alone upscale endpoint to the server (#2026) 2026-09-25 01:13:23 +08:00
upscaler.h perf: parallelize host tensor elementwise and broadcast ops (#1998) 2026-09-19 21:46:16 +08:00
version.cpp refactor: reorganize the file structure (#1266) 2026-02-10 23:13:35 +08:00