Skip to content

Commit 67ae0b0

Browse files
authored
[NVIDIA] bump github actions (Dao-AILab#1996)
* Update GitHub Actions to use checkout@v5 and setup-python@v6; enhance compute capability support * revert changes * revert * Update publish.yml * Update publish.yml * Update publish.yml * Update publish.yml * cuda-toolkit@v0.2.29
1 parent 302618a commit 67ae0b0

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

.github/workflows/_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
name: Build wheel (${{ inputs.release-version }}-${{ inputs.python-version }}-${{ inputs.cuda-version }}-${{ inputs.torch-version }}-${{ inputs.cxx11_abi }})
4444
steps:
4545
- name: Checkout
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@v5
4747
with:
4848
ref: ${{ inputs.release-version }}
4949
submodules: recursive
@@ -77,7 +77,7 @@ jobs:
7777

7878
- name: Install CUDA ${{ inputs.cuda-version }}
7979
if: ${{ inputs.cuda-version != 'cpu' }}
80-
uses: Jimver/cuda-toolkit@v0.2.27
80+
uses: Jimver/cuda-toolkit@v0.2.29
8181
id: cuda-toolkit
8282
with:
8383
cuda: ${{ inputs.cuda-version }}

.github/workflows/pre-commit.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
pre-commit:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v5
2626

2727
- name: Set up Python
28-
uses: actions/setup-python@v5
28+
uses: actions/setup-python@v6
2929
with:
3030
python-version: '3.11'
3131

.github/workflows/publish.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,20 @@ jobs:
4141
# Using ubuntu-22.04 instead of 24.04 for more compatibility (glibc). Ideally we'd use the
4242
# manylinux docker image, but I haven't figured out how to install CUDA on manylinux.
4343
os: [ubuntu-22.04, ubuntu-22.04-arm]
44-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
45-
torch-version: ["2.4.0", "2.5.1", "2.6.0", "2.7.1", "2.8.0"]
44+
python-version: ["3.10", "3.11", "3.12", "3.13"]
45+
torch-version: ["2.5.1", "2.6.0", "2.7.1", "2.8.0", "2.9.1"]
4646
cuda-version: ["12.9.1"]
4747
# We need separate wheels that either uses C++11 ABI (-D_GLIBCXX_USE_CXX11_ABI) or not.
4848
# Pytorch wheels currently don't use it, but nvcr images have Pytorch compiled with C++11 ABI.
4949
# Without this we get import error (undefined symbol: _ZN3c105ErrorC2ENS_14SourceLocationESs)
5050
# when building without C++11 ABI and using it on nvcr images.
5151
cxx11_abi: ["FALSE", "TRUE"]
5252
include:
53-
- torch-version: "2.9.0.dev20250904"
54-
cuda-version: "13.0.0"
53+
- torch-version: "2.9.1"
54+
cuda-version: "13.0.2"
55+
python-version: "3.14"
56+
- torch-version: "2.10.0.dev20251108"
57+
cuda-version: "13.0.2"
5558
exclude:
5659
# see https://github.com/pytorch/pytorch/blob/main/RELEASE.md#release-compatibility-matrix
5760
# Pytorch < 2.5 does not support Python 3.13
@@ -72,8 +75,8 @@ jobs:
7275
needs: [build_wheels]
7376
runs-on: ubuntu-latest
7477
steps:
75-
- uses: actions/checkout@v4
76-
- uses: actions/setup-python@v5
78+
- uses: actions/checkout@v5
79+
- uses: actions/setup-python@v6
7780
with:
7881
python-version: "3.10"
7982
- name: Install dependencies

0 commit comments

Comments
 (0)