Spaces:
Build error
Build error
Download scripts/run_sample_batch_sp.sh from Aammyy/Hunyuan-Avatar: direct link, hf CLI and curl.
- Browser
- Download file 581 Bytes
-
https://huggingface.co/spaces/Aammyy/Hunyuan-Avatar/resolve/main/scripts/run_sample_batch_sp.sh
- Command line
-
hf download hf://spaces/Aammyy/Hunyuan-Avatar/scripts/run_sample_batch_sp.sh
-
curl -L -o run_sample_batch_sp.sh https://huggingface.co/spaces/Aammyy/Hunyuan-Avatar/resolve/main/scripts/run_sample_batch_sp.sh
581 Bytes
| JOBS_DIR=$(dirname $(dirname "$0")) | |
| export PYTHONPATH=./ | |
| export MODEL_BASE=./weights | |
| OUTPUT_BASEPATH=./results | |
| checkpoint_path=${MODEL_BASE}/ckpts/hunyuan-video-t2v-720p/transformers/mp_rank_00_model_states.pt | |
| torchrun --nnodes=1 --nproc_per_node=8 --master_port 29605 hymm_sp/sample_batch.py \ | |
| --input 'assets/test.csv' \ | |
| --ckpt ${checkpoint_path} \ | |
| --sample-n-frames 129 \ | |
| --seed 128 \ | |
| --image-size 704 \ | |
| --cfg-scale 7.5 \ | |
| --infer-steps 50 \ | |
| --use-deepcache 1 \ | |
| --flow-shift-eval-video 5.0 \ | |
| --save-path ${OUTPUT_BASEPATH} | |