mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-05-14 14:25:51 +08:00
Merge branch 'comfyanonymous:master' into master
This commit is contained in:
commit
7056a6aa6f
@ -419,6 +419,8 @@ def unload_model_clones(model, unload_weights_only=True, force_unload=True):
|
|||||||
if not force_unload:
|
if not force_unload:
|
||||||
if unload_weights_only and unload_weight == False:
|
if unload_weights_only and unload_weight == False:
|
||||||
return None
|
return None
|
||||||
|
else:
|
||||||
|
unload_weight = True
|
||||||
|
|
||||||
for i in to_unload:
|
for i in to_unload:
|
||||||
logging.debug("unload clone {} {}".format(i, unload_weight))
|
logging.debug("unload clone {} {}".format(i, unload_weight))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user