stable-diffusion.cpp/src
Claude 03552461bb
fix(auto-fit): warn about a pinned slower listing of a card and about weights streaming from disk
Two things that made a generation take many times longer were visible in the
plan only as a device line or a "params disk" label, with nothing saying what
they cost.

- A GPU that several backends list (an NVIDIA card is both CUDA0 and Vulkan0)
  is left out of the automatic choice when another backend already provides
  it, but the user, or a program that starts the engine, can still name it.
  With --backend vulkan0 the run goes through Vulkan, measured 12 to 22 times
  slower than CUDA on the same card, and the log did not say so. Each shadowed
  listing a module runs on now gets one warning that names the listing that
  the automatic choice uses. The remark about generic graphics APIs is added
  only when the owner's backend ranks above the shadowed one, so two Vulkan
  listings of one card are not called slower than each other.
- Weights that fit neither the compute device nor the RAM budget stay in the
  model file and are read again every time their module runs, the diffusion
  model at every sampling step. One warning names the modules, their size, the
  free RAM and the budget, and says what helps (closing programs, --type, a
  quantized file). Nothing is said when the amount of free RAM is unknown, or
  with --cpu-only plans, which print their own note.

The plan itself does not change: both warnings are only log lines after it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EhZzDBkuuMp1jBf4WtEySC
2026-10-17 17:46:39 +02:00
..
conditioning feat: add Iris-3B text-to-image support (#2117) 2026-10-10 01:39:49 +08:00
core fix(auto-fit): warn about a pinned slower listing of a card and about weights streaming from disk 2026-10-17 17:46:39 +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(auto-fit): say in the log why auto-fit did not plan 2026-10-15 15:19:46 +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 fix(model-loader): stop waiting a whole progress tick after the tensors are loaded 2026-10-15 15:03:52 +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