Skip to content

Commit 3c0a012

Browse files
authored
[LTXPipeline] Update latents dtype to match VAE dtype (#11533)
fix: update latents dtype to match vae
1 parent 2d38089 commit 3c0a012

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffusers/pipelines/ltx/pipeline_ltx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,7 @@ def __call__(
789789
]
790790
latents = (1 - decode_noise_scale) * latents + decode_noise_scale * noise
791791

792+
latents = latents.to(self.vae.dtype)
792793
video = self.vae.decode(latents, timestep, return_dict=False)[0]
793794
video = self.video_processor.postprocess_video(video, output_type=output_type)
794795

0 commit comments

Comments
 (0)