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 8749fc6 commit ea9159eCopy full SHA for ea9159e
stable-diffusion.cpp
@@ -1141,7 +1141,7 @@ class StableDiffusionGGML {
1141
float img_cfg_scale = std::isfinite(guidance.img_cfg) ? guidance.img_cfg : guidance.txt_cfg;
1142
float slg_scale = guidance.slg.scale;
1143
1144
- 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)) {
1145
LOG_WARN("2-conditioning CFG is not supported with this model, disabling it for better performance...");
1146
img_cfg_scale = 1.0f;
1147
}
0 commit comments