diff --git a/comfy/model_patcher.py b/comfy/model_patcher.py index 1cf05ee39..1daa207a5 100644 --- a/comfy/model_patcher.py +++ b/comfy/model_patcher.py @@ -1361,7 +1361,7 @@ class ModelPatcher: try: if hasattr(self, 'pinned'): self.unpin_all_weights() - # Existing code... + self.detach(unpatch_all=False) except Exception as e: # Suppress errors in destructor to avoid noise pass