Skip to content

Commit 9a7f5c3

Browse files
authored
Merge branch 'main' into Add-Lora-Alpha-For-HiDream-Lora
2 parents 9e613a3 + 798265f commit 9a7f5c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/wan/pipeline_wan_vace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ def prepare_masks(
593593
num_ref_images = len(reference_images_batch)
594594
if num_ref_images > 0:
595595
mask_padding = torch.zeros_like(mask_[:, :num_ref_images, :, :])
596-
mask_ = torch.cat([mask_, mask_padding], dim=1)
596+
mask_ = torch.cat([mask_padding, mask_], dim=1)
597597
mask_list.append(mask_)
598598
return torch.stack(mask_list)
599599

0 commit comments

Comments
 (0)