Never halt on errors, log and continue
Some checks failed
Python Linting / Run Ruff (push) Has been cancelled
Python Linting / Run Pylint (push) Has been cancelled
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.10, [self-hosted Linux], stable) (push) Has been cancelled
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.11, [self-hosted Linux], stable) (push) Has been cancelled
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.12, [self-hosted Linux], stable) (push) Has been cancelled
Full Comfy CI Workflow Runs / test-unix-nightly (12.1, , linux, 3.11, [self-hosted Linux], nightly) (push) Has been cancelled
Execution Tests / test (macos-latest) (push) Has been cancelled
Execution Tests / test (ubuntu-latest) (push) Has been cancelled
Execution Tests / test (windows-latest) (push) Has been cancelled
Test server launches without errors / test (push) Has been cancelled
Unit Tests / test (macos-latest) (push) Has been cancelled
Unit Tests / test (ubuntu-latest) (push) Has been cancelled
Unit Tests / test (windows-2022) (push) Has been cancelled
Close stale issues / stale (push) Has been cancelled
Generate Pydantic Stubs from api.comfy.org / generate-models (push) Has been cancelled
Some checks failed
Python Linting / Run Ruff (push) Has been cancelled
Python Linting / Run Pylint (push) Has been cancelled
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.10, [self-hosted Linux], stable) (push) Has been cancelled
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.11, [self-hosted Linux], stable) (push) Has been cancelled
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.12, [self-hosted Linux], stable) (push) Has been cancelled
Full Comfy CI Workflow Runs / test-unix-nightly (12.1, , linux, 3.11, [self-hosted Linux], nightly) (push) Has been cancelled
Execution Tests / test (macos-latest) (push) Has been cancelled
Execution Tests / test (ubuntu-latest) (push) Has been cancelled
Execution Tests / test (windows-latest) (push) Has been cancelled
Test server launches without errors / test (push) Has been cancelled
Unit Tests / test (macos-latest) (push) Has been cancelled
Unit Tests / test (ubuntu-latest) (push) Has been cancelled
Unit Tests / test (windows-2022) (push) Has been cancelled
Close stale issues / stale (push) Has been cancelled
Generate Pydantic Stubs from api.comfy.org / generate-models (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -99,7 +99,7 @@ fi
|
|||||||
# ── Python Environment ───────────────────────────────────────
|
# ── Python Environment ───────────────────────────────────────
|
||||||
log "Setting up Python environment..."
|
log "Setting up Python environment..."
|
||||||
if [ ! -d "$SCRIPT_DIR/venv" ]; then
|
if [ ! -d "$SCRIPT_DIR/venv" ]; then
|
||||||
python3 -m venv venv || die "Failed to create virtual environment"
|
python3 -m venv venv || { err "Failed to create virtual environment"; }
|
||||||
fi
|
fi
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
@@ -107,7 +107,7 @@ source venv/bin/activate
|
|||||||
# Install PyTorch with CUDA
|
# Install PyTorch with CUDA
|
||||||
log "Installing PyTorch with CUDA..."
|
log "Installing PyTorch with CUDA..."
|
||||||
pip install --quiet --upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124 \
|
pip install --quiet --upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124 \
|
||||||
|| die "Failed to install PyTorch — cannot continue without it"
|
|| err "Failed to install PyTorch — ComfyUI will not work without it"
|
||||||
|
|
||||||
# Verify CUDA is available
|
# Verify CUDA is available
|
||||||
if python3 -c "import torch; assert torch.cuda.is_available(), 'no cuda'" 2>/dev/null; then
|
if python3 -c "import torch; assert torch.cuda.is_available(), 'no cuda'" 2>/dev/null; then
|
||||||
@@ -119,7 +119,7 @@ fi
|
|||||||
# Install ComfyUI requirements
|
# Install ComfyUI requirements
|
||||||
log "Installing ComfyUI requirements..."
|
log "Installing ComfyUI requirements..."
|
||||||
pip install --quiet --upgrade -r requirements.txt \
|
pip install --quiet --upgrade -r requirements.txt \
|
||||||
|| die "Failed to install ComfyUI requirements"
|
|| err "Failed to install some ComfyUI requirements"
|
||||||
|
|
||||||
# ── Custom Node Requirements ─────────────────────────────────
|
# ── Custom Node Requirements ─────────────────────────────────
|
||||||
log "Installing custom node requirements..."
|
log "Installing custom node requirements..."
|
||||||
|
|||||||
Reference in New Issue
Block a user