Skip to content

Commit f3a6f8a

Browse files
committed
setting gated_attn to true+ weight loading fix
1 parent f2384c4 commit f3a6f8a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/maxdiffusion/models/ltx2/ltx2_3_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ def rename_for_ltx2_3_transformer(key):
6868
if "audio_text_proj_in" in key:
6969
key = key.replace("audio_text_proj_in", "feature_extractor.audio_linear")
7070

71+
key = key.replace("to_gate_logits.weight", "to_gate_logits.kernel")
72+
7173
key = key.replace("k_norm", "norm_k")
7274
key = key.replace("q_norm", "norm_q")
7375
key = key.replace("adaln_single", "time_embed")

0 commit comments

Comments
 (0)