Download scripts/teaser/edit_long_chain.sh from teawhite/maliang: direct link, hf CLI and curl.
- Browser
- Download file 1.23 kB
-
https://huggingface.co/teawhite/maliang/resolve/main/scripts/teaser/edit_long_chain.sh
- Command line
-
hf download hf://teawhite/maliang/scripts/teaser/edit_long_chain.sh
-
curl -L -o edit_long_chain.sh https://huggingface.co/teawhite/maliang/resolve/main/scripts/teaser/edit_long_chain.sh
1.23 kB
| # teaser · 60 秒外观保持的串行流水线(build → 首帧 → 外观编辑 → DMD rollout → 合成),GPU = $1(默认 6)。 | |
| # usage: nohup bash scripts/teaser/edit_long_chain.sh 6 [nobuild] > outputs/teaser/logs/edit/app_long_chain.log 2>&1 & | |
| M=/opt/dlami/nvme/zhiyangdeng/maliang | |
| cd $M | |
| G=${1:-6} | |
| export DIFFSYNTH_SKIP_DOWNLOAD=True PYTHONPATH=$M/code/gc25d:$M/code/arope HF_HOME=/opt/dlami/nvme/zhiyangdeng/.cache/huggingface \ | |
| TMPDIR=$M/.tmp TORCHINDUCTOR_CACHE_DIR=$M/.tmp/inductor TRITON_CACHE_DIR=$M/.tmp/triton HF_HUB_OFFLINE=1 | |
| set -x | |
| if [ "$2" != "nobuild" ]; then CUDA_VISIBLE_DEVICES=$G .venv/bin/python scripts/teaser/edit_long.py build || exit 1; fi | |
| .venv/bin/python scripts/teaser/edit_long.py f0jobs | |
| CUDA_VISIBLE_DEVICES=$G $M/envs/img/bin/python scripts/teaser/f0gen.py --backend qwen21 --jobs outputs/teaser/edit/app/long/f0/jobs.jsonl | |
| .venv/bin/python scripts/teaser/edit_long.py f0edits | |
| CUDA_VISIBLE_DEVICES=$G $M/envs/img/bin/python scripts/teaser/edit_app_f0.py --jobs outputs/teaser/edit/app/long/f0/edits.jsonl | |
| CUDA_VISIBLE_DEVICES=$G .venv/bin/python scripts/teaser/edit_long.py roll | |
| .venv/bin/python scripts/teaser/edit_long.py compose | |
| echo "$(date +%T) long chain 完成" | |