Skip to content

Commit 58347cd

Browse files
committed
audio vae debug
1 parent f3fc4e2 commit 58347cd

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/maxdiffusion/models/ltx2/ltx2_3_utils.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,11 @@ def load_audio_vae_weights_2_3(
205205

206206
for pt_key, tensor in tensors.items():
207207
# Keys are already filtered and stripped of "audio_vae." by load_and_segregate
208+
if pt_key == "per_channel_statistics.mean-of-means":
209+
pt_key = "latents_mean"
210+
elif pt_key == "per_channel_statistics.std-of-means":
211+
pt_key = "latents_std"
212+
208213
key = rename_for_ltx2_audio_vae(pt_key)
209214

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

0 commit comments

Comments
 (0)