Browse Source

CI fix.

pull/87/head
comfyanonymous 2 years ago
parent
commit
ed4810e670
  1. 4
      .github/workflows/windows_release.yml
  2. 4
      .github/workflows/windows_release_cu118.yml
  3. 4
      .github/workflows/windows_release_nightly_pytorch.yml

4
.github/workflows/windows_release.yml

@ -22,11 +22,11 @@ jobs:
run: |
cd ..
cp -r ComfyUI ComfyUI_copy
wget https://www.python.org/ftp/python/3.10.9/python-3.10.9-embed-amd64.zip -O python_embeded.zip
curl https://www.python.org/ftp/python/3.10.9/python-3.10.9-embed-amd64.zip -o python_embeded.zip
unzip python_embeded.zip -d python_embeded
cd python_embeded
echo 'import site' >> ./python310._pth
wget https://bootstrap.pypa.io/get-pip.py -O get-pip.py
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
./python.exe get-pip.py
./python.exe -s -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117 xformers -r ../ComfyUI/requirements.txt pygit2
sed -i '1i../ComfyUI' ./python310._pth

4
.github/workflows/windows_release_cu118.yml

@ -22,11 +22,11 @@ jobs:
run: |
cd ..
cp -r ComfyUI ComfyUI_copy
wget https://www.python.org/ftp/python/3.10.9/python-3.10.9-embed-amd64.zip -O python_embeded.zip
curl https://www.python.org/ftp/python/3.10.9/python-3.10.9-embed-amd64.zip -o python_embeded.zip
unzip python_embeded.zip -d python_embeded
cd python_embeded
echo 'import site' >> ./python310._pth
wget https://bootstrap.pypa.io/get-pip.py -O get-pip.py
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
./python.exe get-pip.py
./python.exe -s -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118 xformers -r ../ComfyUI/requirements.txt pygit2
sed -i '1i../ComfyUI' ./python310._pth

4
.github/workflows/windows_release_nightly_pytorch.yml

@ -24,11 +24,11 @@ jobs:
run: |
cd ..
cp -r ComfyUI ComfyUI_copy
wget https://www.python.org/ftp/python/3.10.9/python-3.10.9-embed-amd64.zip -O python_embeded.zip
curl https://www.python.org/ftp/python/3.10.9/python-3.10.9-embed-amd64.zip -o python_embeded.zip
unzip python_embeded.zip -d python_embeded
cd python_embeded
echo 'import site' >> ./python310._pth
wget https://bootstrap.pypa.io/get-pip.py -O get-pip.py
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/cu118 -r ../ComfyUI/requirements.txt pygit2 -w ../temp_wheel_dir
ls ../temp_wheel_dir

Loading…
Cancel
Save