1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-03 07:26:31 +08:00

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

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