Make lowvram more aggressive on low memory machines.

This commit is contained in:
comfyanonymous 2024-08-01 12:11:57 -04:00
parent 2f88d19ef3
commit 1aa9cf3292
1 changed files with 1 additions and 1 deletions

View File

@ -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 = []