Skip to content

Commit 5901c25

Browse files
committed
vace padding
1 parent 46755bd commit 5901c25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffusers/loaders/lora_pipeline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4943,6 +4943,7 @@ def load_lora_weights(
49434943
# First, ensure that the checkpoint is a compatible one and can be successfully loaded.
49444944
state_dict = self.lora_state_dict(pretrained_model_name_or_path_or_dict, **kwargs)
49454945
# convert T2V LoRA to I2V LoRA (when loaded to Wan I2V) by adding zeros for the additional (missing) _img layers
4946+
print("_maybe_expand_t2v_lora_for_i2v?????????????????")
49464947
state_dict = self._maybe_expand_t2v_lora_for_i2v(
49474948
transformer=getattr(self, self.transformer_name) if not hasattr(self, "transformer") else self.transformer,
49484949
state_dict=state_dict,

0 commit comments

Comments
 (0)