Fix regression.
This commit is contained in:
parent
a9f04edc58
commit
55ad9d5f8c
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue