From 18617967e5be09d4d24ff0bb337ab4468dd80e6c Mon Sep 17 00:00:00 2001 From: Simon Lui <502929+simonlui@users.noreply.github.com> Date: Wed, 30 Aug 2023 00:25:04 -0700 Subject: [PATCH] Fix error message in model_patcher.py Found while tinkering. --- 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 2f087a60..a6ee0bae 100644 --- a/comfy/model_patcher.py +++ b/comfy/model_patcher.py @@ -145,7 +145,7 @@ class ModelPatcher: model_sd = self.model_state_dict() for key in self.patches: if key not in model_sd: - print("could not patch. key doesn't exist in model:", k) + print("could not patch. key doesn't exist in model:", key) continue weight = model_sd[key]