Skip to content

Commit 9482e81

Browse files
committed
ci: run
1 parent b28d4ee commit 9482e81

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@ name: Wheel Build
22

33
on:
44
workflow_dispatch:
5+
push:
6+
branches:
7+
- ci
58

69
jobs:
710
build-wheel:
8-
name: Build (PyTorch ${{ matrix.torch_version }}, CUDA ${{ matrix.cuda_tag }})
11+
name: Build (torch${{ matrix.torch_version }}+${{ matrix.cuda_tag }}+py${{ matrix.python-version }})
912
runs-on: ubuntu-22.04
1013
strategy:
1114
fail-fast: false
1215
matrix:
16+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
1317
include:
1418
- torch_version: "2.10.0"
1519
cuda_version: "13.0.0"
@@ -39,10 +43,10 @@ jobs:
3943
with:
4044
submodules: recursive
4145

42-
- name: Set up Python 3.10
46+
- name: Set up Python ${{ matrix.python-version }}
4347
uses: actions/setup-python@v5
4448
with:
45-
python-version: "3.10"
49+
python-version: "${{ matrix.python-version }}"
4650

4751
- name: Install CUDA ${{ matrix.cuda_version }}
4852
uses: Jimver/cuda-toolkit@v0.2.30
@@ -61,7 +65,7 @@ jobs:
6165
- name: Build Wheel
6266
env:
6367
MAX_JOBS: 2
64-
TORCH_CUDA_ARCH_LIST: "8.0 9.0"
68+
TORCH_CUDA_ARCH_LIST: "7.0 7.5 8.0 8.6 8.9 9.0+PTX"
6569
run: |
6670
export PATH=/usr/local/cuda/bin:$PATH
6771
@@ -73,7 +77,7 @@ jobs:
7377
- name: Upload Wheel Artifact
7478
uses: actions/upload-artifact@v4
7579
with:
76-
name: lrnnx-wheel-torch${{ matrix.torch_version }}-${{ matrix.cuda_tag }}
80+
name: lrnnx-wheel-torch${{ matrix.torch_version }}-${{ matrix.cuda_tag }}-py${{ matrix.python-version }}
7781
path: dist/*.whl
7882
retention-days: 7
7983

0 commit comments

Comments
 (0)