mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-25 15:55:18 +00:00
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
|
return self.model is other.model
|
||||||
|
|
||||||
def minimum_inference_memory():
|
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):
|
def unload_model_clones(model, unload_weights_only=True, force_unload=True):
|
||||||
to_unload = []
|
to_unload = []
|
||||||
|
Loading…
Reference in New Issue
Block a user