Fix object_patches_backup not being the same object across clones.

main
comfyanonymous 11 months ago
parent 0f5768e038
commit 41ed7e85ea

@ -471,4 +471,4 @@ class ModelPatcher:
for k in keys: for k in keys:
comfy.utils.set_attr(self.model, k, self.object_patches_backup[k]) comfy.utils.set_attr(self.model, k, self.object_patches_backup[k])
self.object_patches_backup = {} self.object_patches_backup.clear()

Loading…
Cancel
Save