mirror of
https://github.com/storytold/cloud-worker.git
synced 2026-10-09 00:09:43 +00:00
225aa97620
- 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>
17 lines
473 B
Bash
Executable File
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"
|