jzhang38 / fast-hunyuan-video

Fast Hunyuan Video by Hao AI Lab

  • Public
  • 83 runs
  • GitHub
  • Weights
  • License

Run time and cost

This model runs on Nvidia H100 GPU hardware. We don't yet have enough runs of this model to provide performance information.

Readme

FastHunyuan Model Card

logo

Model Details

FastHunyuan is an accelerated HunyuanVideo model. It can sample high quality videos with 6 diffusion steps. That brings around 8X speed up compared to the original HunyuanVideo with 50 steps.

Usage

  • Clone Fastvideo repository and follow the inference instructions in the README.
  • Alternatively, you can inference FastHunyuan using the official Hunyuan Video repository by setting the shift to 17 and steps to 6, resolution to 720X1280X125, and cfg bigger than 6. We find that a large CFG scale generally leads to faster videos.

Training details

FastHunyuan is consistency distillated on the MixKit dataset with the following hyperparamters: - Batch size: 16 - Resulotion: 720x1280 - Num of frames: 125 - Train steps: 320 - GPUs: 32 - LR: 1e-6 - Loss: huber

Evaluation

We provide some qualitative comparison between FastHunyuan 6 step inference v.s. the original Hunyuan with 6 step inference:

FastHunyuan 6 step Hunyuan 6 step
FastHunyuan 6 step Hunyuan 6 step
FastHunyuan 6 step Hunyuan 6 step
FastHunyuan 6 step Hunyuan 6 step
FastHunyuan 6 step Hunyuan 6 step