how to run hunyuanvideo on an a40 pod on runpod
setup runpod
- put $10 into runpod and spin up a pytorch 2.1.1 A40 instance (don’t do spot).
- 80GB container + 80GB storage = 160GB total
- ssh into your pod once it's ready.
install miniconda
clone repo & set up env
download model in background
install requirements
download llava mllm text encoder
download clip text encoder
run the damn thing
python3 sample_video.py --video-size 360 640 --video-length 65 --infer-steps 30 --prompt "a cat is running, realistic." --flow-reverse --seed 0 --use-cpu-offload --save-path ./results
profit
done. you'll get your video in ./results
.