stable-diffusion.cpp/src
Claude 1ce4084e10
fix: log a requested cancellation as information, not as an error
A generation stopped on purpose with sd_cancel_generation() wrote several
[E] lines: "cancelling generation", "sampling for image 1/1 failed" and
"Diffusion model sampling failed". In a server log that looks like a fault,
and a client that cancels jobs would fill the log with them.

When the cancel flag is SD_CANCEL_ALL these messages are now INFO, and the
two that said "failed" say "cancelled". Failures that are not a cancellation
keep their ERROR level. Return values, error codes and the cancel flag
handling are unchanged.

Claude-Session: https://claude.ai/code/session_01EhZzDBkuuMp1jBf4WtEySC
2026-10-14 16:36:00 +02:00
..
conditioning feat: add Iris-3B text-to-image support (#2117) 2026-10-10 01:39:49 +08:00
core feat: let --auto-fit place modules on several GPUs 2026-10-14 01:03:42 +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 fix: log a requested cancellation as information, not as an error 2026-10-14 16:36:00 +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: let --auto-fit place modules on several GPUs 2026-10-14 01:03:42 +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