@@ -99,23 +99,15 @@ jobs:
9999 name : ${{ matrix.name }} (torch v${{ matrix.torch-version }})
100100 strategy :
101101 matrix :
102- torch-version : ['2.1', '2.2', '2. 3', '2.4', '2.5', '2.6', '2.7', '2.8']
102+ torch-version : ['2.3', '2.4', '2.5', '2.6', '2.7', '2.8', '2.9 ']
103103 arch : ['arm64', 'x86_64']
104- os : ['ubuntu-24.04', 'ubuntu-24.04-arm', 'macos-15-intel', 'macos-15 ', 'windows-2022']
104+ os : ['ubuntu-24.04', 'ubuntu-24.04-arm', 'macos-15', 'windows-2022']
105105 exclude :
106106 # remove mismatched arch-os combinations
107- - {os: macos-15-intel, arch: arm64}
108107 - {os: windows-2022, arch: arm64}
109108 - {os: ubuntu-24.04, arch: arm64}
110109 - {os: macos-15, arch: x86_64}
111110 - {os: ubuntu-24.04-arm, arch: x86_64}
112- # arch x86_64 on macos is only supported for torch <2.3
113- - {os: macos-15-intel, arch: x86_64, torch-version: '2.3'}
114- - {os: macos-15-intel, arch: x86_64, torch-version: '2.4'}
115- - {os: macos-15-intel, arch: x86_64, torch-version: '2.5'}
116- - {os: macos-15-intel, arch: x86_64, torch-version: '2.6'}
117- - {os: macos-15-intel, arch: x86_64, torch-version: '2.7'}
118- - {os: macos-15-intel, arch: x86_64, torch-version: '2.8'}
119111 include :
120112 # add `cibw-arch` and `rust-target` to the different configurations
121113 - name : x86_64 Linux
@@ -128,11 +120,6 @@ jobs:
128120 arch : arm64
129121 rust-target : aarch64-unknown-linux-gnu
130122 cibw-arch : aarch64
131- - name : x86_64 macOS
132- os : macos-15-intel
133- arch : x86_64
134- rust-target : x86_64-apple-darwin
135- cibw-arch : x86_64
136123 - name : arm64 macOS
137124 os : macos-15
138125 arch : arm64
@@ -144,14 +131,13 @@ jobs:
144131 rust-target : x86_64-pc-windows-msvc
145132 cibw-arch : AMD64
146133 # add the right python version image for each torch version
147- - {torch-version: '2.1', cibw-python: 'cp311-*'}
148- - {torch-version: '2.2', cibw-python: 'cp312-*'}
149134 - {torch-version: '2.3', cibw-python: 'cp312-*'}
150135 - {torch-version: '2.4', cibw-python: 'cp312-*'}
151136 - {torch-version: '2.5', cibw-python: 'cp312-*'}
152137 - {torch-version: '2.6', cibw-python: 'cp312-*'}
153138 - {torch-version: '2.7', cibw-python: 'cp312-*'}
154139 - {torch-version: '2.8', cibw-python: 'cp312-*'}
140+ - {torch-version: '2.9', cibw-python: 'cp312-*'}
155141 steps :
156142 - uses : actions/checkout@v4
157143 with :
@@ -233,9 +219,6 @@ jobs:
233219 - name : arm64 Linux
234220 os : ubuntu-24.04-arm
235221 arch : arm64
236- - name : x86_64 macOS
237- os : macos-15-intel
238- arch : x86_64
239222 - name : arm64 macOS
240223 os : macos-15
241224 arch : arm64
0 commit comments