From 21ebcada1da1466d2a3fe91c9e517156ed5172cf Mon Sep 17 00:00:00 2001 From: strint Date: Mon, 20 Oct 2025 16:22:50 +0800 Subject: [PATCH] debug free mem --- comfy/model_management.py | 1 + 1 file changed, 1 insertion(+) diff --git a/comfy/model_management.py b/comfy/model_management.py index 840239a27..79f043419 100644 --- a/comfy/model_management.py +++ b/comfy/model_management.py @@ -588,6 +588,7 @@ def minimum_inference_memory(): def free_memory(memory_required, device, keep_loaded=[]): logging.info("start to free mem") + import pdb; pdb.set_trace() cleanup_models_gc() unloaded_model = [] can_unload = []