Merge branch 'comfyanonymous:master' into master

This commit is contained in:
patientx 2024-08-28 09:36:30 +03:00 committed by GitHub
commit 7056a6aa6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -419,6 +419,8 @@ def unload_model_clones(model, unload_weights_only=True, force_unload=True):
if not force_unload:
if unload_weights_only and unload_weight == False:
return None
else:
unload_weight = True
for i in to_unload:
logging.debug("unload clone {} {}".format(i, unload_weight))