Skip to content

Commit 2adf9fa

Browse files
committed
add torch 2.8.0 and 2.9.0
1 parent 10b5d63 commit 2adf9fa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ jobs:
104104
# e.g. we can have system CUDA version being 11.7 but if torch==1.12 then we need to download the wheel from cu116
105105
# This code is ugly, maybe there's a better way to do this.
106106
export TORCH_CUDA_VERSION=$(python -c "from os import environ as env; \
107-
minv = {'2.4': 118, '2.5': 118, '2.6': 118, '2.7': 118, '2.8': 126}[env['MATRIX_TORCH_VERSION']]; \
108-
maxv = {'2.4': 124, '2.5': 124, '2.6': 126, '2.7': 128, '2.8': 129}[env['MATRIX_TORCH_VERSION']]; \
107+
minv = {'2.4': 118, '2.5': 118, '2.6': 118, '2.7': 118, '2.8': 126, '2.9': 126}[env['MATRIX_TORCH_VERSION']]; \
108+
maxv = {'2.4': 124, '2.5': 124, '2.6': 126, '2.7': 128, '2.8': 129, '2.9': 130}[env['MATRIX_TORCH_VERSION']]; \
109109
print(minv if int(env['MATRIX_CUDA_VERSION']) < 120 else maxv)" \
110110
)
111111
if [[ ${{ inputs.torch-version }} == *"dev"* ]]; then

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
# manylinux docker image, but I haven't figured out how to install CUDA on manylinux.
4545
os: [ubuntu-22.04]
4646
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
47-
torch-version: ["2.4.0", "2.5.1", "2.6.0", "2.7.1"]
47+
torch-version: ["2.4.0", "2.5.1", "2.6.0", "2.7.1", "2.8.0", "2.9.0"]
4848
cuda-version: ["11.8.0", "12.9.1"]
4949
# We need separate wheels that either uses C++11 ABI (-D_GLIBCXX_USE_CXX11_ABI) or not.
5050
# Pytorch wheels currently don't use it, but nvcr images have Pytorch compiled with C++11 ABI.

0 commit comments

Comments
 (0)