mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
update settings and fix references to state
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user