stable-diffusion.cpp/assets
Claude 2e354710ce
Merge upstream/master (leejet/stable-diffusion.cpp b13a482) into fix_to_claude
Brings in the 20 upstream commits since 2988060 (2026-10-11): per-module
automatic flash attention (#2132), automatic direct convolution (#2134,
#2141), reclaim before trusting wrapped Vulkan iGPU memory estimates
(#2124), UTF-8 file paths on Windows (#2144, #2145), FP8 CPU crash fix
(#2140), the ggml sync to dc99877 (#2147), FLUX.3 Klein, MOSS-Image, the
MoSR upscaler, MiniMax-H3 LoRAs, Qwen Image 2.1 Turbo preset, ROCm and
MUSA Dockerfiles, documentation.

Conflicts resolved, keeping both sides:

- include/stable-diffusion.h: upstream's flash_attn_mode and
  conv_direct_mode stay right after conditioning_cache_size, so the
  layout up to there is still upstream's; memory_guard,
  disable_backend_fallback and multi_gpu follow.
- src/core/ggml_extend_backend.cpp: upstream's new cuda_compiled_arch()
  keeps asking the compute capability through sd::cuda_driver (the driver
  is looked up at run time, so the engine starts where there is no NVIDIA
  driver), not through <cuda.h>; the HIP include from upstream is kept.
- src/model_manager.cpp: the CPU memory guard and upstream's
  requires_reclamation rule are both applied: a Vulkan iGPU estimate that
  wrapped is reclaimed before it is trusted, and the guard still decides
  for the CPU backend.
- src/model_loader.cpp: includes of both sides; load_worker keeps the
  file handle pool and the open retry.
- examples/server/runtime.cpp: --degradation-cooldown check and
  upstream's u8path for the --serve-html-path check.
- docs/backend.md: the "Several GPUs" section and upstream's "Direct
  convolution" and "Flash attention" sections.

The ggml submodule moves from d25b121 to dc99877 (upstream's pin).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EhZzDBkuuMp1jBf4WtEySC
2026-10-18 19:51:51 +02:00
..
anima docs: add anima docs 2026-03-01 15:32:25 +08:00
animatediff feat(animatediff): support img2video via --init-img (#1789) 2026-07-17 01:24:12 +08:00
boogu feat: add boogu image support (#1688) 2026-06-22 00:36:17 +08:00
ernie_image feat: add ernie image support (#1427) 2026-04-17 00:51:42 +08:00
flux feat: add chroma radiance support (#910) 2025-10-25 23:56:14 +08:00
flux2 add support for flux2 klein (#1193) 2026-01-18 01:17:33 +08:00
flux3 feat: add FLUX.3 Image Klein and Klein Base support (#2143) 2026-10-16 02:42:07 +08:00
hidream-o1 feat: add hidream o1 image support (#1485) 2026-05-15 00:40:21 +08:00
huanyuan_video feat: add hunyuan video 1.5 support (#1795) 2026-07-18 22:30:10 +08:00
hunyuan_video feat: add hunyuan video 1.5 support (#1795) 2026-07-18 22:30:10 +08:00
ideogram4 feat: add ideogram4 support (#1609) 2026-06-06 16:34:16 +08:00
iris feat: add Iris-3B text-to-image support (#2117) 2026-10-10 01:39:49 +08:00
krea2 feat: add krea2 support (#1705) 2026-06-25 00:25:50 +08:00
lens feat: add microsoft lens support (#1560) 2026-05-27 01:04:17 +08:00
llada_image feat: add LLaDA-Image support (#1968) 2026-09-21 01:14:20 +08:00
longcat feat: add Longcat-Image / Longcat-Image-Edit support (#1053) 2026-05-24 02:02:02 +08:00
ltx2 feat: add LTX spatial latent upscale hires support (#1533) 2026-05-20 22:27:09 +08:00
mage_flow feat: add Mage-Flow support (#1808) 2026-07-23 01:23:25 +08:00
minimax-h3 feat: add minimax-h3 support (#1854) 2026-08-04 23:14:18 +08:00
moss feat: add moss-image support (#2148) 2026-10-17 03:38:38 +08:00
ovis_image feat: add ovis image support (#1057) 2025-12-07 12:32:56 +08:00
photomaker_examples feat: add TencentARC PhotoMaker support (#179) 2024-03-12 23:15:17 +08:00
pid feat: add PiD support (#1585) 2026-05-31 22:38:39 +08:00
qwen fix: scale Qwen Image 2.1 VAE convolutions (#2054) 2026-09-25 15:52:35 +08:00
sefi_image feat: add SeFi-Image support (#1707) 2026-06-28 22:49:24 +08:00
wan fix: improve GGUF metadata parsing and reader selection (#2062) 2026-09-27 16:24:07 +08:00
z_image docs: add z-image-base example 2026-01-28 21:47:36 +08:00
a lovely cat.png Initial commit 2023-08-13 16:00:22 +08:00
cat_with_sd_cpp_42.png feat: add sd3 support (#298) 2024-07-28 15:44:08 +08:00
cat_with_sd_cpp_20184.png feat: add sd3 support (#298) 2024-07-28 15:44:08 +08:00
control.png feat: Control Net support + Textual Inversion (embeddings) (#131) 2024-01-29 22:38:51 +08:00
control_2.png feat: Control Net support + Textual Inversion (embeddings) (#131) 2024-01-29 22:38:51 +08:00
control_3.png feat: Control Net support + Textual Inversion (embeddings) (#131) 2024-01-29 22:38:51 +08:00
f16.png Initial commit 2023-08-13 16:00:22 +08:00
f32.png Initial commit 2023-08-13 16:00:22 +08:00
img2img_output.png feat: add img2img mode (#5) 2023-08-16 01:48:07 +08:00
logo-1.png Add files via upload 2026-10-13 11:13:19 +02:00
logo.png docs: update logo 2025-12-07 15:09:32 +08:00
q4_0.png Initial commit 2023-08-13 16:00:22 +08:00
q4_1.png Initial commit 2023-08-13 16:00:22 +08:00
q5_0.png Initial commit 2023-08-13 16:00:22 +08:00
q5_1.png Initial commit 2023-08-13 16:00:22 +08:00
q8_0.png Initial commit 2023-08-13 16:00:22 +08:00
sd3.5_large.png feat: add sd3.5 support (#445) 2024-10-24 21:58:03 +08:00
sycl_sd3_output.png sync: update ggml to fix large image generation with SYCL backend (#380) 2024-09-02 22:29:35 +08:00
with_lcm.png feat: add LoRA support 2023-11-19 17:43:49 +08:00
without_lcm.png feat: add LoRA support 2023-11-19 17:43:49 +08:00