Skip to content

Commit 5a4bfac

Browse files
committed
transformer change reverted
1 parent 7458abb commit 5a4bfac

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/maxdiffusion/models/ltx2/transformer_ltx2.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -665,16 +665,14 @@ def __init__(
665665
self.caption_projection = NNXPixArtAlphaTextProjection(
666666
rngs=rngs,
667667
in_features=self.caption_channels,
668-
hidden_size=self.caption_channels,
669-
out_features=inner_dim,
668+
hidden_size=inner_dim,
670669
dtype=self.dtype,
671670
weights_dtype=self.weights_dtype,
672671
)
673672
self.audio_caption_projection = NNXPixArtAlphaTextProjection(
674673
rngs=rngs,
675674
in_features=self.caption_channels,
676-
hidden_size=self.caption_channels,
677-
out_features=audio_inner_dim,
675+
hidden_size=audio_inner_dim,
678676
dtype=self.dtype,
679677
weights_dtype=self.weights_dtype,
680678
)

0 commit comments

Comments
 (0)