We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 639091f commit c6206fbCopy full SHA for c6206fb
stable-diffusion.cpp
@@ -624,7 +624,7 @@ class StableDiffusionGGML {
624
LOG_INFO("Using Conv2d direct in the vae model");
625
first_stage_model->set_conv2d_direct_enabled(true);
626
}
627
- if (version == VERSION_SDXL &&
+ if (sd_version_is_sdxl(version) &&
628
(strlen(SAFE_STR(sd_ctx_params->vae_path)) == 0 || sd_ctx_params->force_sdxl_vae_conv_scale)) {
629
float vae_conv_2d_scale = 1.f / 32.f;
630
LOG_WARN(
0 commit comments