Skip to content

Commit 1c253e2

Browse files
committed
fix-copies
1 parent ddf9f91 commit 1c253e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffusers/loaders/lora_pipeline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2394,6 +2394,7 @@ def lora_state_dict(
23942394
user_agent=user_agent,
23952395
allow_pickle=allow_pickle,
23962396
)
2397+
23972398
is_dora_scale_present = any("dora_scale" in k for k in state_dict)
23982399
if is_dora_scale_present:
23992400
warn_msg = "It seems like you are using a DoRA checkpoint that is not compatible in Diffusers at the moment. So, we are going to filter out the keys associated to 'dora_scale` from the state dict. If you think this is a mistake please open an issue https://github.com/huggingface/diffusers/issues/new."

0 commit comments

Comments
 (0)