Make lowvram more aggressive on low memory machines.
This commit is contained in:
parent
2f88d19ef3
commit
1aa9cf3292
|
@ -318,7 +318,7 @@ class LoadedModel:
|
|||
return self.model is other.model
|
||||
|
||||
def minimum_inference_memory():
|
||||
return (1024 * 1024 * 1024)
|
||||
return (1024 * 1024 * 1024) * 1.2
|
||||
|
||||
def unload_model_clones(model, unload_weights_only=True, force_unload=True):
|
||||
to_unload = []
|
||||
|
|
Loading…
Reference in New Issue