Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
77103d71
Unverified
Commit
77103d71
authored
Mar 30, 2024
by
UmerHA
Committed by
GitHub
Mar 30, 2024
Browse files
Quick-Fix for #7352 block-lora (#7523)
Fixed important typo
parent
03024468
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/loaders/lora.py
src/diffusers/loaders/lora.py
+1
-1
No files found.
src/diffusers/loaders/lora.py
View file @
77103d71
...
@@ -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
],
[
"u
e
nt"
,
"text_encoder"
,
"text_encoder_2"
],
[
"un
e
t"
,
"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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment