From 6f71ee49d132a6fdbad6970dc2adc4969cdce585 Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Fri, 2 Aug 2024 16:12:07 -0700 Subject: [PATCH] Add extra_dependencies as a matrix item. --- .github/workflows/stable-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stable-release.yml b/.github/workflows/stable-release.yml index 19035c02c..9eca63140 100644 --- a/.github/workflows/stable-release.yml +++ b/.github/workflows/stable-release.yml @@ -17,6 +17,7 @@ jobs: matrix: python_version: [3.11.8] cuda_version: [121] + extra_dependencies: ["numpy<2"] steps: - name: Calculate Minor Version shell: bash @@ -46,7 +47,7 @@ jobs: ..\python_embeded\python.exe -s -m pip install --upgrade torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu${{ matrix.cuda_version }} -r ../ComfyUI/requirements.txt pygit2 pause" > update_comfyui_and_python_dependencies.bat - python -m pip wheel --no-cache-dir torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu${{ matrix.cuda_version }} -r requirements.txt pygit2 -w ./temp_wheel_dir + python -m pip wheel --no-cache-dir torch torchvision torchaudio ${{ matrix.extra_dependencies }} --extra-index-url https://download.pytorch.org/whl/cu${{ matrix.cuda_version }} -r requirements.txt pygit2 -w ./temp_wheel_dir python -m pip install --no-cache-dir ./temp_wheel_dir/* echo installed basic ls -lah temp_wheel_dir