mirror of
https://github.com/huggingface/diffusers.git
synced 2025-12-06 12:34:13 +08:00
* add --------- Co-authored-by: yiyi@huggingface.co <yiyi@ip-26-0-161-123.ec2.internal> Co-authored-by: yiyi@huggingface.co <yiyi@ip-26-0-160-103.ec2.internal> Co-authored-by: Sayak Paul <spsayakpaul@gmail.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1.2 KiB
1.2 KiB
AutoencoderKLHunyuanVideo15
The 3D variational autoencoder (VAE) model with KL loss used in HunyuanVideo1.5 by Tencent.
The model can be loaded with the following code snippet.
from diffusers import AutoencoderKLHunyuanVideo15
vae = AutoencoderKLHunyuanVideo15.from_pretrained("hunyuanvideo-community/HunyuanVideo-1.5-Diffusers-480p_t2v", subfolder="vae", torch_dtype=torch.float32)
# make sure to enable tiling to avoid OOM
vae.enable_tiling()
AutoencoderKLHunyuanVideo15
autodoc AutoencoderKLHunyuanVideo15
- decode
- encode
- all
DecoderOutput
autodoc models.autoencoders.vae.DecoderOutput