Browse Source

Fix nightly CI builds.

No cu121 builds for windows yet.
pull/585/head
comfyanonymous 2 years ago
parent
commit
ab9a9deff4
  1. 2
      .ci/nightly/update_windows/update_comfyui_and_python_dependencies.bat
  2. 2
      .github/workflows/windows_release_nightly_pytorch.yml

2
.ci/nightly/update_windows/update_comfyui_and_python_dependencies.bat

@ -1,3 +1,3 @@
..\python_embeded\python.exe .\update.py ..\ComfyUI\
..\python_embeded\python.exe -s -m pip install --upgrade --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121 -r ../ComfyUI/requirements.txt pygit2
..\python_embeded\python.exe -s -m pip install --upgrade --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cu118 -r ../ComfyUI/requirements.txt pygit2
pause

2
.github/workflows/windows_release_nightly_pytorch.yml

@ -30,7 +30,7 @@ jobs:
echo 'import site' >> ./python310._pth
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
./python.exe get-pip.py
python -m pip wheel torch torchvision torchaudio --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu121 -r ../ComfyUI/requirements.txt pygit2 -w ../temp_wheel_dir
python -m pip wheel torch torchvision torchaudio --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu118 -r ../ComfyUI/requirements.txt pygit2 -w ../temp_wheel_dir
ls ../temp_wheel_dir
./python.exe -s -m pip install --pre ../temp_wheel_dir/*
sed -i '1i../ComfyUI' ./python310._pth

Loading…
Cancel
Save