mirror of
https://github.com/storytold/cloud-worker.git
synced 2026-10-09 00:09:43 +00:00
store ComfyUI configs in repo for one-command pod rebuild
- comfyui/: extra_model_paths.yaml + the three MiniMax H3 workflow JSONs - push-to-pod.sh stages everything onto the persistent volume - install-minimax-h3.sh rebuilds a wiped container from that stage Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,14 +7,18 @@ Current test rig: 1x B200 (180 GB) pod — connection details in `pod-info.txt`.
|
||||
|
||||
## Layout
|
||||
|
||||
- `scripts/pod/` — runs on the pod
|
||||
- `install-minimax-h3.sh` — one-shot setup on a fresh pod (after `install-comfy.sh`)
|
||||
- `download-weights.sh` — all weight families → `/workspace/minimax-h3/models`
|
||||
- `download-weights-tmpfs.sh` — overflow files → `/dev/shm` (network-volume
|
||||
quota workaround; ephemeral, re-run after pod restart)
|
||||
- `comfyui/` — ComfyUI configs stored for easy rebuild
|
||||
- `extra_model_paths.yaml` — installed to `/ComfyUI/extra_model_paths.yaml`
|
||||
- `workflows/` — the three MiniMax H3 workflows (t2v, i2v, r2v), installed
|
||||
to `/ComfyUI/user/default/workflows/`
|
||||
- `scripts/pod/` — runs on the pod
|
||||
- `install-minimax-h3.sh` — one-shot rebuild (ComfyUI clone + deps + configs
|
||||
+ workflows + images + weight downloads + launch); idempotent, survives
|
||||
pod resets since it stages from `/workspace`
|
||||
- `download-weights.sh` — all weight families → `/workspace/minimax-h3/models`
|
||||
- `start-comfyui.sh` — headless ComfyUI in tmux on 127.0.0.1:8188
|
||||
- `make-test-images.py` — synthetic reference/first-frame images → `/ComfyUI/input`
|
||||
- `scripts/local/push-to-pod.sh` — stage repo files onto the pod's persistent volume
|
||||
- `scripts/local/port-forward.sh` — persistent tunnel `localhost:8188` → pod
|
||||
ComfyUI panel (auto-reconnects)
|
||||
- `bench/minimax_bench.py` — API-based benchmark harness (t2v / i2v / ref2v ×
|
||||
@@ -28,6 +32,10 @@ Current test rig: 1x B200 (180 GB) pod — connection details in `pod-info.txt`.
|
||||
## Quick start
|
||||
|
||||
```bash
|
||||
# rebuild the pod from scratch (e.g. after a reset wiped the container disk)
|
||||
scripts/local/push-to-pod.sh
|
||||
ssh -p 17561 root@216.243.220.136 'bash /workspace/minimax-h3/install-minimax-h3.sh'
|
||||
|
||||
# tunnel to the ComfyUI panel (leave running)
|
||||
scripts/local/port-forward.sh &
|
||||
open http://localhost:8188
|
||||
|
||||
Reference in New Issue
Block a user