mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-06 07:05:06 +08:00
Update sd_models.py
This commit is contained in:
parent
a9902ca331
commit
dff60e2e74
@ -560,7 +560,6 @@ def apply_token_merging(sd_model, hr: bool):
|
|||||||
ratio = shared.opts.token_merging_ratio
|
ratio = shared.opts.token_merging_ratio
|
||||||
if hr:
|
if hr:
|
||||||
ratio = shared.opts.token_merging_ratio_hr
|
ratio = shared.opts.token_merging_ratio_hr
|
||||||
print("effective hr pass merge ratio is "+str(ratio))
|
|
||||||
|
|
||||||
tomesd.apply_patch(
|
tomesd.apply_patch(
|
||||||
sd_model,
|
sd_model,
|
||||||
|
Loading…
Reference in New Issue
Block a user