Skip to content

Commit 88eb339

Browse files
committed
fix
1 parent 4a369c1 commit 88eb339

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/maxdiffusion/models/ltx2/ltx2_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def load_vae_weights(
353353
return flax_state_dict
354354

355355
def rename_for_ltx2_vocoder(key):
356-
key = key.replace("ups", "upsamplers")
356+
key = key.replace("ups.", "upsamplers.")
357357
key = key.replace("resblocks", "resnets")
358358
key = key.replace("conv_post", "conv_out")
359359
return key

0 commit comments

Comments
 (0)