We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff13ea0 commit f3fc4e2Copy full SHA for f3fc4e2
src/maxdiffusion/models/ltx2/ltx2_3_utils.py
@@ -247,6 +247,11 @@ def load_vae_weights_2_3(
247
if pt_key.startswith("vae."):
248
pt_key = pt_key[len("vae."):]
249
250
+ if pt_key == "per_channel_statistics.mean-of-means":
251
+ pt_key = "latents_mean"
252
+ elif pt_key == "per_channel_statistics.std-of-means":
253
+ pt_key = "latents_std"
254
+
255
renamed_pt_key = pt_key.replace("nin_shortcut", "conv_shortcut")
256
renamed_pt_key = rename_key(renamed_pt_key)
257
0 commit comments