We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bae257d commit 845f303Copy full SHA for 845f303
src/diffusers/pipelines/hunyuan_video/pipeline_hunyuan_video.py
@@ -803,6 +803,7 @@ def __call__(
803
804
latents = latents.to(vae_dtype)
805
if not output_type == "latent":
806
+ latents = latents / self.vae.config.scaling_factor
807
image = self.vae.decode(latents, return_dict=False)[0]
808
809
torch.save(image, "diffusers_latents_decoded.pt")
0 commit comments