Views
No views yet
pip install -qq git+https://github.com/huggingface/diffusers.git@hunyuan-video1import torch
2pipe = HunyuanVideoPipeline.from_pretrained(
3 "magespace/hyvideo-diffusers-dev",
4 torch_dtype=torch.bfloat16,
5)1import PIL.Image
2from diffusers.utils import export_to_video
3
4export_to_video(result.frames[0], "output.mp4", fps=24)transformer with torch.compile. Additionally, increasing shift in the scheduler can allow for lower step values as shown in the original paper.