From c8fb3d245858d495be1f140efdcfaa0d49de41e5 Mon Sep 17 00:00:00 2001 From: leejet Date: Sun, 8 Mar 2026 00:28:05 +0800 Subject: [PATCH] fix: resolve SD1 Pix2Pix issue (#1329) --- src/stable-diffusion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stable-diffusion.cpp b/src/stable-diffusion.cpp index d905011..2a770ec 100644 --- a/src/stable-diffusion.cpp +++ b/src/stable-diffusion.cpp @@ -2645,7 +2645,7 @@ public: } else { latent = gaussian_latent_sample(work_ctx, vae_output); } - if (!use_tiny_autoencoder) { + if (!use_tiny_autoencoder && version != VERSION_SD1_PIX2PIX) { process_latent_in(latent); } if (sd_version_is_qwen_image(version) || sd_version_is_anima(version)) {