Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Remove old unused function.

comfyanonymousd45ebb63f6f2
diff --git a/comfy/model_management.py b/comfy/model_management.py
index 15800a8e1..f6dfc18b0 100644
--- a/comfy/model_management.py
+++ b/comfy/model_management.py
@@ -1128,10 +1128,6 @@ def unload_all_models():
free_memory(1e30, get_torch_device())
-def resolve_lowvram_weight(weight, model, key): #TODO: remove
- logging.warning("The comfy.model_management.resolve_lowvram_weight function will be removed soon, please stop using it.")
- return weight
-
#TODO: might be cleaner to put this somewhere else
import threading