From d45ebb63f6f20b5951645a1a87b250a832a66a77 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Sat, 4 Jan 2025 07:20:54 -0500 Subject: [PATCH] Remove old unused function. --- comfy/model_management.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/comfy/model_management.py b/comfy/model_management.py index 15800a8e..f6dfc18b 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