From b249862080d4c046bd7f2680898c2f348c792a12 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Sat, 1 Jun 2024 12:47:31 -0400 Subject: [PATCH] Add an annoying print to a function I want to remove. --- .gitignore | 3 +-- comfy/model_management.py | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index afad8148..9f038924 100644 --- a/.gitignore +++ b/.gitignore @@ -15,5 +15,4 @@ venv/ !/web/extensions/logging.js.example !/web/extensions/core/ /tests-ui/data/object_info.json -/user/ -comfyui*.log +/user/ \ No newline at end of file diff --git a/comfy/model_management.py b/comfy/model_management.py index b353e50b..3b9fad36 100644 --- a/comfy/model_management.py +++ b/comfy/model_management.py @@ -879,6 +879,7 @@ def unload_all_models(): def resolve_lowvram_weight(weight, model, key): #TODO: remove + print("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