mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-07 09:02:04 +00:00
remove z-image clamping for now
This commit is contained in:
parent
278e45becf
commit
3fb0f337fe
1 changed files with 10 additions and 10 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue