Added training for Wan2.1. Not finalized, wait.

This commit is contained in:
Jaret Burkett committed 2025-03-07 13:53:44 -07:00
1 parent 4e3bda7c70
commit 391cf80fea
7 files changed
+393 -50

No files matched your search

+4
View File
@@ -349,6 +349,10 @@ class LoRASpecialNetwork(ToolkitNetworkMixin, LoRANetwork):
if self.transformer_only and is_unet and hasattr(root_module, 'transformer_blocks'):
if "transformer_blocks" not in lora_name:
skip = True
if self.transformer_only and is_unet and hasattr(root_module, 'blocks'):
if "blocks" not in lora_name:
skip = True
if (is_linear or is_conv2d) and not skip: