Views
No views yet

1num_gpus=1
2export FASTVIDEO_ATTENTION_BACKEND=FLASH_ATTN
3export MODEL_BASE=FastVideo/FastWan2.2-TI2V-5B-Full-Diffusers
4# export MODEL_BASE=hunyuanvideo-community/HunyuanVideo
5# You can either use --prompt or --prompt-txt, but not both.
6fastvideo generate \
7 --model-path $MODEL_BASE \
8 --sp-size $num_gpus \
9 --tp-size 1 \
10 --num-gpus $num_gpus \
11 --height 704 \
12 --width 1280 \
13 --num-frames 121 \
14 --num-inference-steps 3 \
15 --fps 24 \
16 --prompt-txt assets/prompt.txt \
17 --negative-prompt "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards" \
18 --seed 1024 \
19 --output-path outputs_video_dmd/ \
20 --dmd-denoising-steps "1000,757,522"global batch size = 64, and training runs for 3000 steps (~12 hours)@article{zhang2025vsa,
title={VSA: Faster Video Diffusion with Trainable Sparse Attention},
author={Zhang, Peiyuan and Huang, Haofeng and Chen, Yongqi and Lin, Will and Liu, Zhengzhong and Stoica, Ion and Xing, Eric and Zhang, Hao},
journal={arXiv preprint arXiv:2505.13389},
year={2025}
}
@article{zhang2025fast,
title={Fast video generation with sliding tile attention},
author={Zhang, Peiyuan and Chen, Yongqi and Su, Runlong and Ding, Hangliang and Stoica, Ion and Liu, Zhengzhong and Zhang, Hao},
journal={arXiv preprint arXiv:2502.04507},
year={2025}
}