From 0e06b370dbd1c6a8aaf13e9c9cede9ec8925ea86 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Fri, 14 Jun 2024 18:18:53 -0400 Subject: [PATCH] Print key names for easier debugging. --- comfy/model_patcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/model_patcher.py b/comfy/model_patcher.py index 2f80ae2b..44b82795 100644 --- a/comfy/model_patcher.py +++ b/comfy/model_patcher.py @@ -335,7 +335,7 @@ class ModelPatcher: self.patch_weight_to_device(bias_key, device_to) m.to(device_to) mem_counter += comfy.model_management.module_size(m) - logging.debug("lowvram: loaded module regularly {}".format(m)) + logging.debug("lowvram: loaded module regularly {} {}".format(n, m)) self.model_lowvram = True self.lowvram_patch_counter = patch_counter