We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbffe46 commit 084dd62Copy full SHA for 084dd62
1 file changed
src/maxdiffusion/models/ltx2/ltx2_3_utils.py
@@ -186,7 +186,7 @@ def load_transformer_weights_2_3(
186
renamed_pt_key = rename_key(pt_key)
187
renamed_pt_key = rename_for_ltx2_3_transformer(renamed_pt_key)
188
189
- if "prompt_scale_shift_table" in renamed_pt_key:
+ if "prompt_scale_shift_table" in renamed_pt_key or "cross_attn_scale_shift_table" in renamed_pt_key:
190
print(f"DEBUG Weight: {renamed_pt_key} shape: {tensor.shape} min: {jnp.min(tensor)} max: {jnp.max(tensor)}")
191
192
pt_tuple_key = tuple(renamed_pt_key.split("."))
0 commit comments