Skip to content

Commit 02b7d54

Browse files
committed
comments
1 parent 3d39cb9 commit 02b7d54

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/maxdiffusion/configs/ltx2_3_video.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ enable_lora: False
145145
# lora_model_name_or_path: ["Lightricks/LTX-2.3"],
146146
# weight_name: ["ltx-2.3-22b-distilled-lora-384.safetensors"],
147147
# adapter_name: ["distilled-lora-384"],
148+
# # placeholder - the real value is mixed per-layer ranks: 32/128/256/384
149+
# # and the loader reads each layer's REAL rank from the LoRA tensor shapes
148150
# rank: [384]
149151
# }
150152

src/maxdiffusion/loaders/lora_conversion_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ def translate_ltx2_nnx_path_to_diffusers_lora(nnx_path_str, scan_layers=False):
716716
"attn1.to_k": "attn1.to_k",
717717
"attn1.to_v": "attn1.to_v",
718718
"attn1.to_out": "attn1.to_out.0",
719-
"attn1.to_gate_logits": "attn1.to_gate_logits", # per-head gating Linear
719+
"attn1.to_gate_logits": "attn1.to_gate_logits",
720720
# Audio Self Attention (audio_attn1)
721721
"audio_attn1.to_q": "audio_attn1.to_q",
722722
"audio_attn1.to_k": "audio_attn1.to_k",

0 commit comments

Comments
 (0)