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 be5a01a commit 92aabcbCopy full SHA for 92aabcb
src/diffusers/loaders/lora_pipeline.py
@@ -4258,7 +4258,7 @@ def _maybe_expand_t2v_lora_for_i2v(
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)
4261
- if not is_i2v_lora:
+ if is_i2v_lora:
4262
return state_dict
4263
4264
if transformer.config.image_dim is None:
0 commit comments