remove z-image clamping for now

This commit is contained in:
Concedo 2025-12-11 23:05:00 +08:00
parent 278e45becf
commit 3fb0f337fe

View file

@ -784,16 +784,16 @@ sd_generation_outputs sdtype_generate(const sd_generation_inputs inputs)
}
}
if(loadedsdver == SDVersion::VERSION_Z_IMAGE)
{
if(sd_params->cfg_scale > 3.0f)
{
if (!sd_is_quiet && sddebugmode) {
printf("Z-Image: clamping CFG Scale to 3.0 to preserve quality\n");
}
sd_params->cfg_scale = 3.0f;
}
}
// if(loadedsdver == SDVersion::VERSION_Z_IMAGE)
// {
// if(sd_params->cfg_scale > 3.0f)
// {
// if (!sd_is_quiet && sddebugmode) {
// printf("Z-Image: clamping CFG Scale to 3.0 to preserve quality\n");
// }
// sd_params->cfg_scale = 3.0f;
// }
// }
if(is_wan && extra_image_data.size()==0 && is_img2img)
{