Skip to content

Commit 4ef23c3

Browse files
Fix potential regression with previous PR. (#16596)
1 parent 5c4d256 commit 4ef23c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎comfy/ldm/wan/model.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ def forward_orig(
821821
if self.img_emb is not None:
822822
context_clip = self.img_emb(clip_fea) # bs x 257 x dim
823823
context = torch.concat([context_clip, context], dim=1)
824-
context_img_len = clip_fea.shape[-2]
824+
context_img_len = clip_fea.shape[-2]
825825

826826
# vace blocks are t2v pretrained, they attend over text tokens only
827827
if context_img_len is None:

0 commit comments

Comments
 (0)