Skip to content

Commit

Permalink
pt23-cu121 update
Browse files Browse the repository at this point in the history
  • Loading branch information
YanWenKun committed Dec 11, 2024
1 parent 7b5ea13 commit d24fe99
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 7 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build-pt23-cu121.yml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 5 additions & 5 deletions pt23-cu121/requirements3.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion pt23-cu121/requirements9.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion pt23-cu121/stage1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d24fe99

Please sign in to comment.