We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98675ae commit e8d57a4Copy full SHA for e8d57a4
stable-diffusion.cpp
@@ -1145,7 +1145,7 @@ class StableDiffusionGGML {
1145
float img_cfg_scale = std::isfinite(guidance.img_cfg) ? guidance.img_cfg : guidance.txt_cfg;
1146
float slg_scale = guidance.slg.scale;
1147
1148
- if (img_cfg_scale != cfg_scale && !sd_version_is_inpaint_or_unet_edit(version)) {
+ if (img_cfg_scale != 1.0 && !sd_version_is_inpaint_or_unet_edit(version)) {
1149
LOG_WARN("2-conditioning CFG is not supported with this model, disabling it for better performance...");
1150
img_cfg_scale = 1.0f;
1151
}
0 commit comments