From d24fe99c75cbe40dad26fd42482ecba81b12ee93 Mon Sep 17 00:00:00 2001 From: YAN Wenkun Date: Thu, 12 Dec 2024 06:32:37 +0800 Subject: [PATCH] pt23-cu121 update --- .github/workflows/build-pt23-cu121.yml | 40 ++++++++++++++++++++++++++ pt23-cu121/requirements3.txt | 10 +++---- pt23-cu121/requirements9.txt | 2 +- pt23-cu121/stage1.sh | 2 +- 4 files changed, 47 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/build-pt23-cu121.yml diff --git a/.github/workflows/build-pt23-cu121.yml b/.github/workflows/build-pt23-cu121.yml new file mode 100644 index 0000000..ac6eaaa --- /dev/null +++ b/.github/workflows/build-pt23-cu121.yml @@ -0,0 +1,40 @@ +name: "Build & Upload pt23-cu121 Package" + +on: + workflow_dispatch: + +jobs: + build_upload: + permissions: + contents: "write" + packages: "write" + pull-requests: "read" + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + + - name: Stage 1 Gathering Dependencies + shell: bash + working-directory: pt23-cu121 + run: bash stage1.sh + + - name: Stage 2 Assembling Repositories + shell: bash + working-directory: pt23-cu121 + run: bash stage2.sh + + - name: Stage 3 Compressing Package + shell: bash + working-directory: pt23-cu121 + run: bash stage3.sh + + - name: Upload archive to release + uses: xresloader/upload-to-github-release@v1 + env: + # You don't need to configure this token. It'll be auto-set when GitHub Actions start. + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + file: "pt23-cu121/Comfy3D_WinPortable.7z*" + # Always draft before release. + draft: true + overwrite: true diff --git a/pt23-cu121/requirements3.txt b/pt23-cu121/requirements3.txt index 1927d6f..4cf1f7a 100644 --- a/pt23-cu121/requirements3.txt +++ b/pt23-cu121/requirements3.txt @@ -1,6 +1,6 @@ ---index-url https://download.pytorch.org/whl/cu118 +--index-url https://download.pytorch.org/whl/cu121 --extra-index-url https://pypi.org/simple -xformers==0.0.23.post1 -torch==2.1.2 -torchvision==0.16.2 -torchaudio==2.1.2 +xformers==0.0.27 +torch==2.3.1 +torchvision==0.18.1 +torchaudio==2.3.1 diff --git a/pt23-cu121/requirements9.txt b/pt23-cu121/requirements9.txt index c16baf8..e5942b7 100644 --- a/pt23-cu121/requirements9.txt +++ b/pt23-cu121/requirements9.txt @@ -10,4 +10,4 @@ open-clip-torch==2.24.0 # Forcing version to prevent PIP re-installing clip-interrogator==0.6.0 diffusers==0.29.1 -torchvision==0.16.2 +torchvision==0.18.1 diff --git a/pt23-cu121/stage1.sh b/pt23-cu121/stage1.sh index 431bed5..3ae35ed 100644 --- a/pt23-cu121/stage1.sh +++ b/pt23-cu121/stage1.sh @@ -60,7 +60,7 @@ $pip_exe install -r "$workdir"/requirements5.txt $pip_exe install -r "$workdir"/requirements6.txt # From: https://github.com/rusty1s/pytorch_scatter?tab=readme-ov-file#binaries -$pip_exe install torch-scatter -f https://data.pyg.org/whl/torch-2.1.2%2Bcu118.html +$pip_exe install torch-scatter -f https://data.pyg.org/whl/torch-2.3.1%2Bcu121.html $pip_exe install -r "$workdir"/requirements9.txt