From 3fb0f337fe1b99d4cc559c4609e97f18d3c1e977 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Thu, 11 Dec 2025 23:05:00 +0800 Subject: [PATCH] remove z-image clamping for now --- otherarch/sdcpp/sdtype_adapter.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/otherarch/sdcpp/sdtype_adapter.cpp b/otherarch/sdcpp/sdtype_adapter.cpp index 86aca5dcc..0c0fb42fb 100644 --- a/otherarch/sdcpp/sdtype_adapter.cpp +++ b/otherarch/sdcpp/sdtype_adapter.cpp @@ -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) {