24 lines
1.1 KiB
Bash
Executable File
24 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
num_gpus=1
|
|
export FASTVIDEO_ATTENTION_BACKEND=VIDEO_SPARSE_ATTN
|
|
# change model path to local dir if you want to inference using your checkpoint
|
|
export MODEL_BASE=Wan-AI/Wan2.1-T2V-1.3B-Diffusers
|
|
# export MODEL_BASE=hunyuanvideo-community/HunyuanVideo
|
|
fastvideo generate \
|
|
--model-path $MODEL_BASE \
|
|
--sp-size $num_gpus \
|
|
--tp-size 1 \
|
|
--num-gpus $num_gpus \
|
|
--height 448 \
|
|
--width 832 \
|
|
--num-frames 77 \
|
|
--num-inference-steps 50 \
|
|
--fps 16 \
|
|
--guidance-scale 6.0 \
|
|
--flow-shift 8.0 \
|
|
--VSA-sparsity 0.9 \
|
|
--prompt "A beautiful woman in a red dress walking down a street" \
|
|
--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" \
|
|
--seed 1024 \
|
|
--output-path outputs_video_1.3B_VSA/sparsity_0.9/ |