mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-17 13:47:04 +08:00
Add extra_dependencies as a matrix item.
This commit is contained in:
parent
ea03c9dcd2
commit
6f71ee49d1
3
.github/workflows/stable-release.yml
vendored
3
.github/workflows/stable-release.yml
vendored
@ -17,6 +17,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
python_version: [3.11.8]
|
python_version: [3.11.8]
|
||||||
cuda_version: [121]
|
cuda_version: [121]
|
||||||
|
extra_dependencies: ["numpy<2"]
|
||||||
steps:
|
steps:
|
||||||
- name: Calculate Minor Version
|
- name: Calculate Minor Version
|
||||||
shell: bash
|
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
|
..\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
|
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/*
|
python -m pip install --no-cache-dir ./temp_wheel_dir/*
|
||||||
echo installed basic
|
echo installed basic
|
||||||
ls -lah temp_wheel_dir
|
ls -lah temp_wheel_dir
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user