Skip to content

Commit 7120eb7

Browse files
committed
use flux_latent_rgb_proj for z-image
1 parent d3f1bf4 commit 7120eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stable-diffusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ class StableDiffusionGGML {
13511351
if (sd_version_is_sd3(version)) {
13521352
latent_rgb_proj = sd3_latent_rgb_proj;
13531353
latent_rgb_bias = sd3_latent_rgb_bias;
1354-
} else if (sd_version_is_flux(version)) {
1354+
} else if (sd_version_is_flux(version) || sd_version_is_z_image(version)) {
13551355
latent_rgb_proj = flux_latent_rgb_proj;
13561356
latent_rgb_bias = flux_latent_rgb_bias;
13571357
} else if (sd_version_is_wan(version) || sd_version_is_qwen_image(version)) {

0 commit comments

Comments
 (0)