From 55ad9d5f8c8b906102313e894e471d2f5e833577 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Fri, 9 Aug 2024 03:36:40 -0400 Subject: [PATCH] Fix regression. --- comfy/model_management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/model_management.py b/comfy/model_management.py index 7fbb4282..5da213f2 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