Add resumable submission pipeline

This commit is contained in:
MZ YANG
2026-04-18 19:01:25 +08:00
parent b8696d0c54
commit fb3f82006a
6 changed files with 1526 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
RUN_DIR="${RUN_DIR:-$SCRIPT_DIR/results/submission_full}"
LOG_DIR="$RUN_DIR/logs"
mkdir -p "$LOG_DIR"
STAMP="$(date '+%Y%m%d-%H%M%S')"
LOG_FILE="$LOG_DIR/pipeline-$STAMP.log"
echo "[run_submission_full] run_dir=$RUN_DIR"
echo "[run_submission_full] log_file=$LOG_FILE"
python "$SCRIPT_DIR/run_submission_resume.py" \
--config "$SCRIPT_DIR/config_submission_full.json" \
--device "${DEVICE:-cuda}" \
--run-dir "$RUN_DIR" \
"$@" 2>&1 | tee -a "$LOG_FILE"