Skip to content

Commit ea99072

Browse files
authored
feat: add support for python 3.13 (#651)
* feat: add support for python 3.13 * update workflow to exclude py3.13+torch2.5 * fix typo
1 parent c079cb0 commit ea99072

5 files changed

Lines changed: 19 additions & 7 deletions

File tree

.github/workflows/nightly-build.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,11 @@ jobs:
7676
if: needs.tag.outputs.need_build == 'true' && github.repository == 'nunchaku-tech/nunchaku'
7777
strategy:
7878
matrix:
79-
python: ["3.10", "3.11", "3.12"]
79+
python: ["3.10", "3.11", "3.12", "3.13"]
8080
torch: ["2.5", "2.6", "2.7", "2.8", "2.9"]
81+
exclude:
82+
- python: "3.13"
83+
torch: "2.5"
8184
steps:
8285
- name: Checkout to the tag
8386
uses: actions/checkout@v4
@@ -118,8 +121,11 @@ jobs:
118121
if: needs.tag.outputs.need_build == 'true' && github.repository == 'nunchaku-tech/nunchaku'
119122
strategy:
120123
matrix:
121-
python: ["3.10", "3.11", "3.12"]
124+
python: ["3.10", "3.11", "3.12", "3.13"]
122125
torch: ["2.5", "2.6", "2.7", "2.8", "2.9"]
126+
exclude:
127+
- python: "3.13"
128+
torch: "2.5"
123129
steps:
124130
- name: Checkout to the tag
125131
uses: actions/checkout@v4

.github/workflows/release-build.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,11 @@ jobs:
5050
needs: release
5151
strategy:
5252
matrix:
53-
python: ["3.10", "3.11", "3.12"]
53+
python: ["3.10", "3.11", "3.12", "3.13"]
5454
torch: ["2.5", "2.6", "2.7", "2.8", "2.9"]
55+
exclude:
56+
- python: "3.13"
57+
torch: "2.5"
5558
steps:
5659
- name: Checkout to the tag
5760
uses: actions/checkout@v4
@@ -103,8 +106,11 @@ jobs:
103106
needs: release
104107
strategy:
105108
matrix:
106-
python: ["3.10", "3.11", "3.12"]
109+
python: ["3.10", "3.11", "3.12", "3.13"]
107110
torch: ["2.5", "2.6", "2.7", "2.8", "2.9"]
111+
exclude:
112+
- python: "3.13"
113+
torch: "2.5"
108114
steps:
109115
- name: Checkout to the tag
110116
uses: actions/checkout@v4

scripts/build_all_dockers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
# Define the versions for Python, Torch, and CUDA
33
NUNCHAKU_VERSION=$1
4-
python_versions=("3.10" "3.11" "3.12")
4+
python_versions=("3.10" "3.11" "3.12" "3.13")
55
torch_versions=("2.5" "2.6")
66
cuda_versions=("12.4" "12.8")
77

scripts/build_all_linux_wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# Define the versions for Python, Torch, and CUDA
3-
python_versions=("3.10" "3.11" "3.12")
3+
python_versions=("3.10" "3.11" "3.12" "3.13")
44
torch_versions=("2.5" "2.6")
55
cuda_versions=("12.4")
66

scripts/build_all_windows_wheels.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
setlocal enabledelayedexpansion
33

44
REM Define Python and Torch versions
5-
set "python_versions=3.10 3.11 3.12"
5+
set "python_versions=3.10 3.11 3.12 3.13"
66
set "torch_versions=2.5 2.6"
77
set "cuda_version=12.4"
88

0 commit comments

Comments
 (0)