Fix regression.

This commit is contained in:
comfyanonymous 2024-08-09 03:36:40 -04:00
parent a9f04edc58
commit 55ad9d5f8c
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ class LoadedModel:
return self.real_model return self.real_model
def should_reload_model(self, force_patch_weights=False): 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 True
return False return False