Skip to content

Commit 6354cbb

Browse files
committed
connectors fix
1 parent 1026e0a commit 6354cbb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/maxdiffusion/models/ltx2/ltx2_3_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ def load_connectors_weights(
104104

105105
accumulated_stacked[base_key][layer_idx] = tensor
106106
else:
107-
# Transpose projection kernels in feature extractor
108-
if "feature_extractor" in segments and segments[-1] == "kernel":
107+
# Transpose projection kernels in feature extractor or new LTX-2.3 projections
108+
if any(x in segments for x in ["feature_extractor", "audio_text_proj_in", "video_text_proj_in"]) and segments[-1] == "kernel":
109109
tensor = jnp.transpose(tensor, (1, 0))
110110

111111
flax_key = _tuple_str_to_int(segments)

0 commit comments

Comments
 (0)