update settings and fix references to state

This commit is contained in:
Vladimir Mandic
2023-10-06 17:18:42 -04:00
parent 3c794fa124
commit a47c4cf04d
8 changed files with 56 additions and 58 deletions
+3
View File
@@ -1240,6 +1240,9 @@ def apply_token_merging(sd_model, token_merging_ratio=0):
except Exception:
pass
if token_merging_ratio > 0:
if shared.opts.hypertile_unet_enabled:
shared.log.warning('Token merging not supported with HyperTile for UNet')
return
try:
tomesd.apply_patch(
sd_model,