From 58f7b789cbbc037eecd4b397a70e4be20a4429ff Mon Sep 17 00:00:00 2001 From: leejet Date: Sat, 20 Dec 2025 01:33:36 +0800 Subject: [PATCH] use qwen image edit pipeline --- stable-diffusion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stable-diffusion.cpp b/stable-diffusion.cpp index 2bc46d1..342717d 100644 --- a/stable-diffusion.cpp +++ b/stable-diffusion.cpp @@ -482,7 +482,7 @@ public: } } else if (sd_version_is_qwen_image(version)) { bool enable_vision = false; - if (!vae_decode_only) { + if (!vae_decode_only && version != VERSION_QWEN_IMAGE_LAYERED) { enable_vision = true; } cond_stage_model = std::make_shared(clip_backend,