Skip to content

Commit 00b7878

Browse files
committed
attn_mask correction
1 parent 85832ff commit 00b7878

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/maxdiffusion/models/wan/transformers/transformer_wan.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -621,8 +621,7 @@ def __call__(
621621
def scan_fn(carry, block):
622622
hidden_states_carry, rngs_carry = carry
623623
hidden_states = block(
624-
hidden_states_carry, encoder_hidden_states, timestep_proj, rotary_emb, deterministic, rngs_carry,
625-
encoder_attention_mask=encoder_attention_mask
624+
hidden_states_carry, encoder_hidden_states, timestep_proj, rotary_emb, deterministic, rngs_carry
626625
)
627626
new_carry = (hidden_states, rngs_carry)
628627
return new_carry, None

0 commit comments

Comments
 (0)