Skip to content

Commit c7b5ac4

Browse files
committed
spatial and temporal compression ratio overrides
1 parent ba3b738 commit c7b5ac4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/maxdiffusion/pipelines/ltx2/ltx2_pipeline.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,8 @@ def create_model(rngs: nnx.Rngs, config: HyperParameters):
455455
"decoder_causal": False,
456456
"encoder_spatial_padding_mode": "zeros",
457457
"decoder_spatial_padding_mode": "zeros",
458+
"spatial_compression_ratio": 32,
459+
"temporal_compression_ratio": 8,
458460
}
459461
)
460462
vae = LTX2VideoAutoencoderKL(

0 commit comments

Comments
 (0)