emergency vram fix of control-lora

emergency vram fix of control-lora
This commit is contained in:
lllyasviel
2023-10-17 22:51:51 -07:00
parent a8803a7724
commit 99435762e6
3 changed files with 21 additions and 2 deletions
+1
View File
@@ -256,6 +256,7 @@ def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sa
finally:
modules.sample_hijack.current_refiner = None
modules.sample_hijack.force_unload_all_control(positive, negative)
return out