fix tomes

This commit is contained in:
Vladimir Mandic
2023-09-15 10:18:50 -04:00
parent d3177fc560
commit 396135d567
+2
View File
@@ -1211,3 +1211,5 @@ def apply_token_merging(sd_model, token_merging_ratio=0):
sd_model.applied_token_merged_ratio = token_merging_ratio
except:
shared.log.warning(f'Token merging not supported: pipeline={sd_model.__class__.__name__}')
else:
sd_model.applied_token_merged_ratio = 0