This commit is contained in:
Jaret Burkett committed 2025-03-03 08:22:15 -07:00
1 parent 3c8c84f156
commit 1f3f45a48d
3 files changed
+8 -3

No files matched your search

+3 -2
View File
@@ -344,8 +344,9 @@ class LoRASpecialNetwork(ToolkitNetworkMixin, LoRANetwork):
if (is_linear or is_conv2d) and not skip:
if self.only_if_contains is not None and not any([word in clean_name for word in self.only_if_contains]):
continue
if self.only_if_contains is not None:
if not any([word in clean_name for word in self.only_if_contains]) and not any([word in lora_name for word in self.only_if_contains]):
continue
dim = None
alpha = None