Skip to content

Commit 3a7021c

Browse files
committed
fix
1 parent 1c0d221 commit 3a7021c

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
@@ -699,15 +699,15 @@ def __init__(
699699
rngs=rngs,
700700
in_features=self.caption_channels,
701701
hidden_size=self.cross_attention_dim,
702-
embedding_dim=inner_dim,
702+
embedding_dim=self.cross_attention_dim,
703703
dtype=self.dtype,
704704
weights_dtype=self.weights_dtype,
705705
)
706706
self.audio_caption_projection = NNXCombinedTimestepTextProjEmbeddings(
707707
rngs=rngs,
708708
in_features=self.audio_caption_channels,
709709
hidden_size=self.audio_cross_attention_dim,
710-
embedding_dim=audio_inner_dim,
710+
embedding_dim=self.audio_cross_attention_dim,
711711
dtype=self.dtype,
712712
weights_dtype=self.weights_dtype,
713713
)

0 commit comments

Comments
 (0)