Skip to content

Commit

Permalink
change preprocess vae check
Browse files Browse the repository at this point in the history
  • Loading branch information
saienduri authored Jul 22, 2024
1 parent fbaecd6 commit 32fc090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/turbine_models/custom_models/sd_inference/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def compile_to_vmfb(
flags.extend(MI_flags["pad_attention"])
elif "punet" in flagset_keywords:
flags.extend(MI_flags["punet"])
elif "vae_preprocess" in flagset_keywords:
elif "vae" in safe_name:
flags.extend(MI_flags["vae_preprocess"])
else:
flags.extend(MI_flags["preprocess_default"])
Expand Down

0 comments on commit 32fc090

Please sign in to comment.