Skip to content

Commit 8689832

Browse files
committed
modality mask
1 parent 6ba8606 commit 8689832

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/maxdiffusion/models/ltx2/transformer_ltx2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,8 +1177,8 @@ def scan_fn(carry, block_and_mask):
11771177
temb_prompt_audio=temb_prompt_audio,
11781178
video_rotary_emb=video_rotary_emb,
11791179
audio_rotary_emb=audio_rotary_emb,
1180-
ca_video_rotary_emb=ca_video_rotary_emb,
1181-
ca_audio_rotary_emb=ca_audio_rotary_emb,
1180+
ca_video_rotary_emb=video_cross_attn_rotary_emb,
1181+
ca_audio_rotary_emb=audio_cross_attn_rotary_emb,
11821182
a2v_cross_attention_mask=a2v_cross_attention_mask,
11831183
v2a_cross_attention_mask=v2a_cross_attention_mask,
11841184
attention_mask=mask,

0 commit comments

Comments
 (0)