Unverified Commit 77103d71 authored by UmerHA's avatar UmerHA Committed by GitHub
Browse files

Quick-Fix for #7352 block-lora (#7523)

Fixed important typo
parent 03024468
...@@ -1111,7 +1111,7 @@ class LoraLoaderMixin: ...@@ -1111,7 +1111,7 @@ class LoraLoaderMixin:
# warn if adapter doesn't have parts specified by adapter_weights # warn if adapter doesn't have parts specified by adapter_weights
for part_weight, part_name in zip( for part_weight, part_name in zip(
[unet_lora_weight, text_encoder_lora_weight, text_encoder_2_lora_weight], [unet_lora_weight, text_encoder_lora_weight, text_encoder_2_lora_weight],
["uent", "text_encoder", "text_encoder_2"], ["unet", "text_encoder", "text_encoder_2"],
): ):
if part_weight is not None and part_name not in invert_list_adapters[adapter_name]: if part_weight is not None and part_name not in invert_list_adapters[adapter_name]:
logger.warning( logger.warning(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment