Skip to content

Commit 64faedd

Browse files
add rope explanation
1 parent 57b5ba7 commit 64faedd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

diffsynth_engine/models/wan/wan_s2v_dit.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,10 +440,12 @@ def forward(
440440
torch.tensor([30, 0, 0]),
441441
torch.tensor([31, h, w]),
442442
torch.tensor([1, h, w]),
443-
], # grid size of ref. why do they fix 30?
443+
], # grid size of ref
444444
],
445445
freqs=self.freqs,
446446
)
447+
# why do they fix 30?
448+
# seems that they just want self.freqs[0][30]
447449

448450
x_seq_len = f * h * w
449451
x, freqs = self.inject_motion(

0 commit comments

Comments
 (0)