Skip to content

Commit dcc9e59

Browse files
committed
update
1 parent f11f563 commit dcc9e59

4 files changed

Lines changed: 16 additions & 8 deletions

File tree

.github/workflows/nightly-build.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,15 @@ jobs:
8989
run: git log -1 --oneline
9090
- name: Build wheels
9191
run: |
92-
if [[ "${{ matrix.torch }}" == "2.7" || "${{ matrix.torch }}" == "2.8" || "${{ matrix.torch }}" == "2.9" ]]; then
92+
if [[ "${{ matrix.torch }}" == "2.7" || "${{ matrix.torch }}" == "2.8" ]]; then
9393
cuda_version="12.8"
94+
elif [[ "${{ matrix.torch }}" == "2.9" ]]; then
95+
cuda_version="13.0"
9496
else
9597
cuda_version="12.4"
9698
fi
9799
if [[ "${{ matrix.torch }}" == "pre" ]]; then
98-
bash scripts/build_linux_wheel_torch_nightly.sh ${{ matrix.python }} ${{ matrix.torch }} 12.8
100+
bash scripts/build_linux_wheel_torch_nightly.sh ${{ matrix.python }} ${{ matrix.torch }} 13.0
99101
else
100102
bash scripts/build_linux_wheel.sh ${{ matrix.python }} ${{ matrix.torch }} $cuda_version
101103
fi
@@ -139,7 +141,9 @@ jobs:
139141
) ELSE IF "%TORCH_VERSION%"=="2.8" (
140142
SET CUDA_VERSION=12.8
141143
) ELSE IF "%TORCH_VERSION%"=="2.9" (
142-
SET CUDA_VERSION=12.8
144+
SET CUDA_VERSION=13.0
145+
) ELSE IF "%TORCH_VERSION%"=="pre" (
146+
SET CUDA_VERSION=13.0
143147
) ELSE (
144148
SET CUDA_VERSION=12.4
145149
)

.github/workflows/release-build.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,15 @@ jobs:
6363
run: git log -1 --oneline
6464
- name: Build wheels
6565
run: |
66-
if [[ "${{ matrix.torch }}" == "2.7" || "${{ matrix.torch }}" == "2.8" || "${{ matrix.torch }}" == "2.9" ]]; then
66+
if [[ "${{ matrix.torch }}" == "2.7" || "${{ matrix.torch }}" == "2.8" ]]; then
6767
cuda_version="12.8"
68+
elif [[ "${{ matrix.torch }}" == "2.9" ]]; then
69+
cuda_version="13.0"
6870
else
6971
cuda_version="12.4"
7072
fi
7173
if [[ "${{ matrix.torch }}" == "pre" ]]; then
72-
bash scripts/build_linux_wheel_torch_nightly.sh ${{ matrix.python }} ${{ matrix.torch }} 12.8
74+
bash scripts/build_linux_wheel_torch_nightly.sh ${{ matrix.python }} ${{ matrix.torch }} 13.0
7375
else
7476
bash scripts/build_linux_wheel.sh ${{ matrix.python }} ${{ matrix.torch }} $cuda_version
7577
fi
@@ -124,7 +126,9 @@ jobs:
124126
) ELSE IF "%TORCH_VERSION%"=="2.8" (
125127
SET CUDA_VERSION=12.8
126128
) ELSE IF "%TORCH_VERSION%"=="2.9" (
127-
SET CUDA_VERSION=12.8
129+
SET CUDA_VERSION=13.0
130+
) ELSE IF "%TORCH_VERSION%"=="pre" (
131+
SET CUDA_VERSION=13.0
128132
) ELSE (
129133
SET CUDA_VERSION=12.4
130134
)

nunchaku/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.2"
1+
__version__ = "1.1.0dev"

scripts/build_windows_wheel_torch_nightly.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ call conda activate %ENV_NAME%
2020
:: install dependencies
2121
call pip install ninja setuptools wheel build
2222

23-
call pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
23+
call pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu%CUDA_SHORT_VERSION%
2424

2525
:: set environment variables
2626
set NUNCHAKU_INSTALL_MODE=ALL

0 commit comments

Comments
 (0)