Skip to content

Commit 77103d7

Browse files
authored
Quick-Fix for #7352 block-lora (#7523)
Fixed important typo
1 parent 0302446 commit 77103d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/loaders/lora.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ def set_adapters(
11111111
# warn if adapter doesn't have parts specified by adapter_weights
11121112
for part_weight, part_name in zip(
11131113
[unet_lora_weight, text_encoder_lora_weight, text_encoder_2_lora_weight],
1114-
["uent", "text_encoder", "text_encoder_2"],
1114+
["unet", "text_encoder", "text_encoder_2"],
11151115
):
11161116
if part_weight is not None and part_name not in invert_list_adapters[adapter_name]:
11171117
logger.warning(

0 commit comments

Comments
 (0)