Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Fix regression.

comfyanonymous55ad9d5f8c8b
diff --git a/comfy/model_management.py b/comfy/model_management.py
index 7fbb42824..5da213f2c 100644
--- a/comfy/model_management.py
+++ b/comfy/model_management.py
@@ -325,7 +325,7 @@ class LoadedModel:
return self.real_model
def should_reload_model(self, force_patch_weights=False):
- if force_patch_weights and self.model.lowvram_patch_counter > 0:
+ if force_patch_weights and self.model.lowvram_patch_counter() > 0:
return True
return False