mirror of
https://github.com/storytold/cloud-worker.git
synced 2026-10-17 00:23:49 +00:00
installer: fetch real bench images during pod bootstrap
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,6 +13,8 @@ scp -O -P "$POD_PORT" \
|
|||||||
scripts/pod/download-weights.sh \
|
scripts/pod/download-weights.sh \
|
||||||
scripts/pod/start-comfyui.sh \
|
scripts/pod/start-comfyui.sh \
|
||||||
scripts/pod/make-test-images.py \
|
scripts/pod/make-test-images.py \
|
||||||
|
scripts/pod/fetch-bench-images.py \
|
||||||
|
scripts/pod/fetch-bench-images-v2.py \
|
||||||
comfyui/extra_model_paths.yaml \
|
comfyui/extra_model_paths.yaml \
|
||||||
"$DEST":/workspace/minimax-h3/
|
"$DEST":/workspace/minimax-h3/
|
||||||
scp -O -P "$POD_PORT" comfyui/workflows/*.json "$DEST":/workspace/minimax-h3/workflows/
|
scp -O -P "$POD_PORT" comfyui/workflows/*.json "$DEST":/workspace/minimax-h3/workflows/
|
||||||
|
|||||||
@@ -21,8 +21,10 @@ cp "$STAGE"/extra_model_paths.yaml /ComfyUI/extra_model_paths.yaml
|
|||||||
mkdir -p /ComfyUI/user/default/workflows
|
mkdir -p /ComfyUI/user/default/workflows
|
||||||
cp "$STAGE"/workflows/*.json /ComfyUI/user/default/workflows/
|
cp "$STAGE"/workflows/*.json /ComfyUI/user/default/workflows/
|
||||||
|
|
||||||
# --- test/reference images ---
|
# --- test/reference images (synthetic + real reference sets) ---
|
||||||
python3 "$STAGE"/make-test-images.py
|
python3 "$STAGE"/make-test-images.py
|
||||||
|
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"
|
||||||
|
|
||||||
# --- weights (skips files already on the volume) ---
|
# --- weights (skips files already on the volume) ---
|
||||||
tmux new -s downloads -d "bash $STAGE/download-weights.sh" 2>/dev/null \
|
tmux new -s downloads -d "bash $STAGE/download-weights.sh" 2>/dev/null \
|
||||||
|
|||||||
Reference in New Issue
Block a user