Views
No views yet
conda create -n accvideo python==3.10.0
conda activate accvideo
pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu118
pip install -r requirements.txt
pip install flash-attn==2.7.3 --no-build-isolation
pip install "huggingface_hub[cli]"1# Download the model weight
2huggingface-cli download aejion/AccVideo --local-dir ./ckpts1# Download the model weight
2huggingface-cli download aejion/AccVideo-WanX-T2V-14B --local-dir ./wanx_t2v_ckpts1export MODEL_BASE=./ckpts
2python sample_t2v.py \
3 --height 544 \
4 --width 960 \
5 --num_frames 93 \
6 --num_inference_steps 5 \
7 --guidance_scale 1 \
8 --embedded_cfg_scale 6 \
9 --flow_shift 7 \
10 --flow-reverse \
11 --prompt_file ./assets/prompt.txt \
12 --seed 1024 \
13 --output_path ./results/accvideo-544p \
14 --model_path ./ckpts \
15 --dit-weight ./ckpts/accvideo-t2v-5-steps/diffusion_pytorch_model.pt| Model | Setting(height/width/frame) | Inference Time(s) |
|---|---|---|
| HunyuanVideo | 720px1280px129f | 3234 |
| Ours | 720px1280px129f | 380(8.5x faster) |
| HunyuanVideo | 544px960px93f | 704 |
| Ours | 544px960px93f | 91(7.7x faster) |
1python sample_wanx_t2v.py \
2 --task t2v-14B \
3 --size 832*480 \
4 --ckpt_dir ./wanx_t2v_ckpts \
5 --sample_solver 'unipc' \
6 --save_dir ./results/accvideo_wanx_14B \
7 --sample_steps 10| Model | Setting(height/width/frame) | Inference Time(s) |
|---|---|---|
| Wanx | 480px832px81f | 932 |
| Ours | 480px832px81f | 97(9.6x faster) |
1@article{zhang2025accvideo,
2 title={AccVideo: Accelerating Video Diffusion Model with Synthetic Dataset},
3 author={Zhang, Haiyu and Chen, Xinyuan and Wang, Yaohui and Liu, Xihui and Wang, Yunhong and Qiao, Yu},
4 journal={arXiv preprint arXiv:2503.19462},
5 year={2025}
6}