Commit a2c204a
committed
fix(DR-1170): fix ComfyUI startup crash (server not reachable)
ComfyUI is installed by comfy-cli into its own /comfyui/.venv, but start.sh
launches it with /opt/venv's python. The launch venv was missing ComfyUI's
runtime deps (sqlalchemy from the new asset DB, etc.), so ComfyUI crashed at
startup — surfacing as the misleading 'ComfyUI server not reachable' error.
Nothing in this repo changed; the breakage rode in via COMFYUI_VERSION=latest.
- Mirror ComfyUI's full dependency set (core + custom-node requirements) into
/opt/venv so the launch venv is complete.
- Pin transformers<5 / huggingface-hub<1 (both unbounded upstream).
- Add a build-time smoke test (main.py --quick-test-for-ci --cpu) so a
startup-breaking dep fails the build instead of a live worker.
- start.sh pre-flight now launches a real kernel + prints sm/torch/cuda, so a
GPU/kernel mismatch fails loudly at boot instead of as 'not reachable'.
Base-image stays cu126; NGC base migration is a separate branch/PR.1 parent d2a5572 commit a2c204a
2 files changed
Lines changed: 38 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
65 | 90 | | |
66 | 91 | | |
67 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
38 | 46 | | |
39 | 47 | | |
40 | 48 | | |
41 | 49 | | |
42 | | - | |
| 50 | + | |
43 | 51 | | |
44 | | - | |
45 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
46 | 55 | | |
47 | 56 | | |
48 | 57 | | |
| |||
0 commit comments