mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-28 19:16:33 +00:00
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 |
||
|---|---|---|
| .. | ||
| conditioning | ||
| core | ||
| extensions | ||
| model | ||
| model_io | ||
| pipeline | ||
| runtime | ||
| tokenizers | ||
| convert.cpp | ||
| detailer.cpp | ||
| detailer.h | ||
| device_residency_manager.h | ||
| model.h | ||
| model_component.h | ||
| model_loader.cpp | ||
| model_loader.h | ||
| model_loader_files.cpp | ||
| model_manager.cpp | ||
| model_manager.h | ||
| model_manager_files.cpp | ||
| model_manager_prefetch.cpp | ||
| name_conversion.cpp | ||
| name_conversion.h | ||
| stable-diffusion.cpp | ||
| upscaler.cpp | ||
| upscaler.h | ||
| version.cpp | ||