Skip to content

Commit 95de0c5

Browse files
authored
add forgotten parenthesis
1 parent 2614f12 commit 95de0c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/loaders/lora_conversion_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2129,7 +2129,7 @@ def _convert_non_diffusers_ltxv_lora_to_diffusers(state_dict, non_diffusers_pref
21292129

21302130

21312131
def _convert_non_diffusers_qwen_lora_to_diffusers(state_dict):
2132-
has_diffusion_model = any(k.startswith("diffusion_model." for k in state_dict)
2132+
has_diffusion_model = any(k.startswith("diffusion_model.") for k in state_dict)
21332133
if has_diffusion_model:
21342134
state_dict = {k.removeprefix("diffusion_model."): v for k, v in state_dict.items()}
21352135

0 commit comments

Comments
 (0)