1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

Explicitly specify temporal and spatial VAE scale factors when converting

This commit is contained in:
Daniel Gu
2025-12-17 11:14:45 +01:00
parent 269cf7b40d
commit baf23e2da3

View File

@@ -241,6 +241,8 @@ def get_ltx2_video_vae_config(version: str) -> Tuple[Dict[str, Any], Dict[str, A
"resnet_norm_eps": 1e-6,
"encoder_causal": True,
"decoder_causal": True,
"spatial_compression_ratio": 32,
"temporal_compression_ratio": 8,
},
}
rename_dict = LTX_2_0_VIDEO_VAE_RENAME_DICT
@@ -274,6 +276,8 @@ def get_ltx2_video_vae_config(version: str) -> Tuple[Dict[str, Any], Dict[str, A
"resnet_norm_eps": 1e-6,
"encoder_causal": True,
"decoder_causal": True,
"spatial_compression_ratio": 32,
"temporal_compression_ratio": 8,
},
}
rename_dict = LTX_2_0_VIDEO_VAE_RENAME_DICT