mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-05-02 04:01:15 +00:00
Fix new bug I accidently introduced with lora
This commit is contained in:
@@ -341,6 +341,8 @@ class LoRASpecialNetwork(ToolkitNetworkMixin, LoRANetwork):
|
||||
skip = True
|
||||
|
||||
if self.transformer_only and is_unet:
|
||||
transformer_block_names = None
|
||||
if base_model is not None:
|
||||
transformer_block_names = base_model.get_transformer_block_names()
|
||||
|
||||
if transformer_block_names is not None:
|
||||
|
||||
Reference in New Issue
Block a user