We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3fc4e2 commit 58347cdCopy full SHA for 58347cd
1 file changed
src/maxdiffusion/models/ltx2/ltx2_3_utils.py
@@ -205,6 +205,11 @@ def load_audio_vae_weights_2_3(
205
206
for pt_key, tensor in tensors.items():
207
# 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
+
213
key = rename_for_ltx2_audio_vae(pt_key)
214
215
if key.endswith(".kernel") and tensor.ndim == 4:
0 commit comments