Skip to content

Commit c8fb3d2

Browse files
authored
fix: resolve SD1 Pix2Pix issue (leejet#1329)
1 parent 3d33caa commit c8fb3d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/stable-diffusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2645,7 +2645,7 @@ class StableDiffusionGGML {
26452645
} else {
26462646
latent = gaussian_latent_sample(work_ctx, vae_output);
26472647
}
2648-
if (!use_tiny_autoencoder) {
2648+
if (!use_tiny_autoencoder && version != VERSION_SD1_PIX2PIX) {
26492649
process_latent_in(latent);
26502650
}
26512651
if (sd_version_is_qwen_image(version) || sd_version_is_anima(version)) {

0 commit comments

Comments
 (0)