We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92aabcb commit 51c570dCopy full SHA for 51c570d
src/diffusers/loaders/lora_pipeline.py
@@ -4257,7 +4257,7 @@ def _maybe_expand_t2v_lora_for_i2v(
4257
):
4258
if any(k.startswith("blocks.") for k in state_dict):
4259
num_blocks = len({k.split("blocks.")[1].split(".")[0] for k in state_dict})
4260
- is_i2v_lora = any("k_img" in k for k in state_dict) and any("v_img" in k for k in state_dict)
+ is_i2v_lora = any("add_k_proj" in k for k in state_dict) and any("add_v_proj" in k for k in state_dict)
4261
if is_i2v_lora:
4262
return state_dict
4263
0 commit comments