Skip to content

Commit 6d62f4b

Browse files
committed
fix
1 parent 36fea4e commit 6d62f4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/loaders/lora_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4833,7 +4833,7 @@ def _maybe_expand_t2v_lora_for_i2v(
48334833
continue
48344834

48354835
state_dict[f"transformer.blocks.{i}.attn2.{c}.lora_A.weight"] = torch.zeros_like(
4836-
ref_lora_A_weight.shape, device=target_device
4836+
state_dict[f"transformer.blocks.{i}.attn2.to_k.lora_A.weight"], device=target_device
48374837
)
48384838
state_dict[f"transformer.blocks.{i}.attn2.{c}.lora_B.weight"] = torch.zeros_like(
48394839
state_dict[f"transformer.blocks.{i}.attn2.to_k.lora_B.weight"], device=target_device

0 commit comments

Comments
 (0)