Skip to content

Commit 8cda08e

Browse files
authored
support torch 2.7.1 (#119)
1 parent 6edd6a8 commit 8cda08e

6 files changed

Lines changed: 18 additions & 10 deletions

File tree

.github/workflows/macos-cpu-wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: build-wheels-cpu-macos
33
on:
44
push:
55
branches:
6-
- wheel
7-
# - torch-2.7.0
6+
# - wheel
7+
- torch-2.7.1
88
tags:
99
- '*'
1010
workflow_dispatch:

.github/workflows/ubuntu-arm64-cpu-wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: build-wheels-cpu-arm64-ubuntu
33
on:
44
push:
55
branches:
6-
- wheel
7-
# - torch-2.7.0
6+
# - wheel
7+
- torch-2.7.1
88
tags:
99
- '*'
1010
workflow_dispatch:

.github/workflows/ubuntu-cpu-wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: build-wheels-cpu-ubuntu
33
on:
44
push:
55
branches:
6-
- wheel
7-
# - torch-2.7.0
6+
# - wheel
7+
- torch-2.7.1
88
tags:
99
- '*'
1010
workflow_dispatch:

.github/workflows/ubuntu-cuda-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- wheel
7-
- torch-2.7.0
7+
# - torch-2.7.1
88
tags:
99
- '*'
1010
workflow_dispatch:

.github/workflows/windows-x64-cpu-wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: build-wheels-cpu-win64
33
on:
44
push:
55
branches:
6-
- wheel
7-
# - torch-2.7.0
6+
# - wheel
7+
- torch-2.7.1
88
tags:
99
- '*'
1010
workflow_dispatch:

scripts/github_actions/generate_build_matrix.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,10 +311,18 @@ def generate_build_matrix(
311311
else ["11.8.0", "12.6.2", "12.8.1"]
312312
),
313313
},
314+
"2.7.1": {
315+
"python-version": ["3.9", "3.10", "3.11", "3.12", "3.13"],
316+
"cuda": (
317+
["11.8", "12.6", "12.8"] # default 12.6
318+
if not for_windows
319+
else ["11.8.0", "12.6.2", "12.8.1"]
320+
),
321+
},
314322
# https://github.com/Jimver/cuda-toolkit/blob/master/src/links/windows-links.ts
315323
}
316324
if test_only_latest_torch:
317-
latest = "2.7.0"
325+
latest = "2.7.1"
318326
matrix = {latest: matrix[latest]}
319327

320328
if for_windows or for_macos:

0 commit comments

Comments
 (0)