installer: stage bench images on the volume — immune to fetch rate limits

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Hanashi
2026-08-06 18:02:49 -04:00
parent 9fc70a0b81
commit e33192a283
+6
View File
@@ -23,8 +23,14 @@ cp "$STAGE"/workflows/*.json /ComfyUI/user/default/workflows/
# --- test/reference images (synthetic + real reference sets) ---
python3 "$STAGE"/make-test-images.py
# prefer the volume-staged copies (immune to fetch rate limits); fetch only to backfill
if [ -d "$STAGE"/bench-images ]; then
cp "$STAGE"/bench-images/* /ComfyUI/input/ 2>/dev/null || true
fi
python3 "$STAGE"/fetch-bench-images.py || echo "WARN: v1 image fetch incomplete"
python3 "$STAGE"/fetch-bench-images-v2.py || echo "WARN: v2 image fetch incomplete"
mkdir -p "$STAGE"/bench-images
cp /ComfyUI/input/bench2_*.jpg /ComfyUI/input/bench2_*.png /ComfyUI/input/bench_*.png "$STAGE"/bench-images/ 2>/dev/null || true
# --- weights (skips files already on the volume) ---
tmux new -s downloads -d "bash $STAGE/download-weights.sh" 2>/dev/null \