Add --upgrade to pip installs in setup script
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

Ensures packages are updated if already present on vast.ai instances.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-09 01:58:21 +00:00
parent f09734b0ee
commit 700d6ead21

View File

@@ -47,11 +47,11 @@ source venv/bin/activate
# Install PyTorch with CUDA # Install PyTorch with CUDA
log "Installing PyTorch..." log "Installing PyTorch..."
pip install --quiet 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
# Install ComfyUI requirements # Install ComfyUI requirements
log "Installing ComfyUI requirements..." log "Installing ComfyUI requirements..."
pip install --quiet -r requirements.txt pip install --quiet --upgrade -r requirements.txt
# ── Custom Node Requirements ───────────────────────────────── # ── Custom Node Requirements ─────────────────────────────────
log "Installing custom node requirements..." log "Installing custom node requirements..."
@@ -59,7 +59,7 @@ for req in custom_nodes/*/requirements.txt; do
[ -f "$req" ] || continue [ -f "$req" ] || continue
node_name="$(basename "$(dirname "$req")")" node_name="$(basename "$(dirname "$req")")"
log " $node_name" log " $node_name"
pip install --quiet -r "$req" 2>/dev/null || err " Failed some deps in $node_name (may be OK)" pip install --quiet --upgrade -r "$req" 2>/dev/null || err " Failed some deps in $node_name (may be OK)"
done done
# ── Download Models ─────────────────────────────────────────── # ── Download Models ───────────────────────────────────────────