From 141cf81c23091678f5ea8ca01f39333949b9c7e6 Mon Sep 17 00:00:00 2001 From: layerdiffusion <19834515+lllyasviel@users.noreply.github.com> Date: Thu, 15 Aug 2024 06:36:59 -0700 Subject: [PATCH] sometimes it is not diffusion model --- backend/patcher/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/patcher/base.py b/backend/patcher/base.py index 12e651c9..bf95a30c 100644 --- a/backend/patcher/base.py +++ b/backend/patcher/base.py @@ -249,7 +249,7 @@ class ModelPatcher: utils.set_attr_raw(self.model, k, item) - for key, current_patches in (tqdm(self.patches.items(), desc='Patching LoRAs to Diffusion Model') if len(self.patches) > 0 else self.patches): + for key, current_patches in (tqdm(self.patches.items(), desc='Patching LoRAs') if len(self.patches) > 0 else self.patches): try: weight = utils.get_attr(self.model, key) assert isinstance(weight, torch.nn.Parameter)