Files
cloud-worker/scripts/pod/start-comfyui.sh
T
Hanashi 225aa97620 MiniMax H3 on RunPod: install/download scripts, ComfyUI wiring, benchmark harness, research docs
- scripts/pod: weight downloads (workspace + tmpfs overflow for volume quota),
  extra_model_paths.yaml, headless ComfyUI launcher, test image generator,
  one-shot pod installer
- scripts/local: auto-reconnecting port forward for the ComfyUI panel
- bench: API-based harness for t2v/i2v/ref2v across durations, resolutions,
  and weight families; CSV/JSONL results
- docs: WEIGHTS.md (what's downloaded where), RESEARCH.md (ComfyUI guides,
  no-Comfy options via SGLang/vLLM/diffusers, concurrency model, serverless)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 00:28:16 -04:00

17 lines
473 B
Bash
Executable File

#!/bin/bash
# Start ComfyUI headless on the pod inside tmux, listening on 127.0.0.1:8188.
# Access from your laptop via scripts/local/port-forward.sh
set -euo pipefail
SESSION=comfyui
LOG=/workspace/minimax-h3/comfyui.log
if tmux has-session -t "$SESSION" 2>/dev/null; then
echo "ComfyUI tmux session already running"
exit 0
fi
tmux new -s "$SESSION" -d \
"cd /ComfyUI && python main.py --listen 127.0.0.1 --port 8188 2>&1 | tee -a $LOG"
echo "started; tail $LOG"