Skip to content

Commit 7f5057f

Browse files
committed
audio vae weights
1 parent 11ac1d4 commit 7f5057f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/maxdiffusion/models/ltx2/ltx2_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,8 @@ def load_audio_vae_weights(
516516
for pt_key, tensor in tensors.items():
517517
if filename and not pt_key.startswith("audio_vae."):
518518
continue
519+
if filename and pt_key.startswith("audio_vae."):
520+
pt_key = pt_key[len("audio_vae."):]
519521
key = rename_for_ltx2_audio_vae(pt_key)
520522

521523
if key.endswith(".kernel") and tensor.ndim == 4:

0 commit comments

Comments
 (0)