Skip to content

Commit 46755bd

Browse files
committed
vace padding
1 parent c0d22f8 commit 46755bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffusers/loaders/lora_pipeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4814,7 +4814,8 @@ def _maybe_expand_t2v_lora_for_i2v(
48144814
return state_dict
48154815

48164816
target_device = transformer.device
4817-
4817+
print("expanding t2v to i2v")
4818+
print("wtf 0",hasattr(transformer, 'vace_blocks'))
48184819
if any(k.startswith("transformer.blocks.") for k in state_dict):
48194820
num_blocks = len({k.split("blocks.")[1].split(".")[0] for k in state_dict if "blocks." in k})
48204821
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)
@@ -4850,7 +4851,6 @@ def _maybe_expand_t2v_lora_for_i2v(
48504851
device=target_device,
48514852
)
48524853

4853-
print(hasattr(transformer, 'vace_blocks'))
48544854

48554855
if hasattr(transformer, 'vace_blocks'):
48564856
print(f"{i}, WTF 0")

0 commit comments

Comments
 (0)