Skip to content

Commit

Permalink
Quick-Fix for #7352 block-lora (#7523)
Browse files Browse the repository at this point in the history
Fixed important typo
  • Loading branch information
UmerHA authored Mar 30, 2024
1 parent 0302446 commit 77103d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diffusers/loaders/lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ def set_adapters(
# warn if adapter doesn't have parts specified by adapter_weights
for part_weight, part_name in zip(
[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]:
logger.warning(
Expand Down

0 comments on commit 77103d7

Please sign in to comment.