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 36fea4e commit 6d62f4bCopy full SHA for 6d62f4b
src/diffusers/loaders/lora_pipeline.py
@@ -4833,7 +4833,7 @@ def _maybe_expand_t2v_lora_for_i2v(
4833
continue
4834
4835
state_dict[f"transformer.blocks.{i}.attn2.{c}.lora_A.weight"] = torch.zeros_like(
4836
- ref_lora_A_weight.shape, device=target_device
+ state_dict[f"transformer.blocks.{i}.attn2.to_k.lora_A.weight"], device=target_device
4837
)
4838
state_dict[f"transformer.blocks.{i}.attn2.{c}.lora_B.weight"] = torch.zeros_like(
4839
state_dict[f"transformer.blocks.{i}.attn2.to_k.lora_B.weight"], device=target_device
0 commit comments