Skip to content

Commit 97675c7

Browse files
yiyixuxubghira
andauthored
Apply suggestions from code review
Co-authored-by: bagheera <59658056+bghira@users.noreply.github.com>
1 parent e78a4fa commit 97675c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/models/transformers/transformer_wan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def forward(
325325
c_scale_msa = c_scale_msa.squeeze(2)
326326
c_gate_msa = c_gate_msa.squeeze(2)
327327
else:
328-
# temb: batch_size, 6, inner_dim
328+
# temb: batch_size, 6, inner_dim (wan2.1)
329329
shift_msa, scale_msa, gate_msa, c_shift_msa, c_scale_msa, c_gate_msa = (
330330
self.scale_shift_table + temb.float()
331331
).chunk(6, dim=1)

0 commit comments

Comments
 (0)