Download scripts/run_pie_bench_nf_baseline.sh from Lingmin-Ran/SADAE: direct link, hf CLI and curl.
- Browser
- Download file 955 Bytes
-
https://huggingface.co/Lingmin-Ran/SADAE/resolve/main/scripts/run_pie_bench_nf_baseline.sh
- Command line
-
hf download hf://Lingmin-Ran/SADAE/scripts/run_pie_bench_nf_baseline.sh
-
curl -L -o run_pie_bench_nf_baseline.sh https://huggingface.co/Lingmin-Ran/SADAE/resolve/main/scripts/run_pie_bench_nf_baseline.sh
955 Bytes
| set -euo pipefail | |
| cd "$(dirname "$0")/.." | |
| source /mnt/bn/jiangzhongtao/miniconda3/etc/profile.d/conda.sh | |
| conda activate pvd | |
| export HF_HUB_CACHE="$PWD/ckpts/hf_cache" | |
| export HF_HUB_OFFLINE=1 | |
| export TRANSFORMERS_OFFLINE=1 | |
| export NCCL_DEBUG=WARN | |
| export PYTHONPATH="$PWD${PYTHONPATH:+:$PYTHONPATH}" | |
| torchrun --standalone --nproc_per_node 1 scripts/pie_bench_nf_baseline.py "$@" | |
| bash /mnt/bn/jiangzhongtao/lingmin/ml-starflow/scripts/zhanka.sh | |
| # disable cfg in editing: | |
| # bash /mnt/bn/jiangzhongtao/lingmin/ml-starflow/scripts/run_pie_bench_nf_baseline.sh \ | |
| # --output-dir result/baseline_fp32 \ | |
| # --batch-size 4 \ | |
| # --max-samples 52 \ | |
| # --edit-cfg 0 | |
| # # forward之前添加噪声 | |
| # bash /mnt/bn/jiangzhongtao/lingmin/ml-starflow/scripts/run_pie_bench_nf_baseline.sh \ | |
| # --output-dir result/baseline_fp32_training_noise \ | |
| # --batch-size 4 \ | |
| # --max-samples 52 \ | |
| # --edit-cfg 0 \ | |
| # --training-noise | |