@@ -49,22 +49,23 @@ jobs:
4949 build-cuda :
5050 strategy :
5151 matrix :
52- cuda_version : ["11.8.0", "12.6.3", "12.8.1"]
53- os : [ubuntu-22.04, ubuntu-22.04-arm, windows-2025 ]
52+ cuda_version : ["11.8.0", "12.6.3", "12.8.1", "12.9.1" ]
53+ os : [ubuntu-22.04, ubuntu-22.04-arm]
5454 include :
5555 - os : ubuntu-22.04
5656 arch : x86_64
5757 - os : ubuntu-22.04-arm
5858 arch : aarch64
5959 - os : windows-2025
6060 arch : x86_64
61+ cuda_version : " 11.8.0"
6162 runs-on : ${{ matrix.os }}
6263
6364 steps :
6465 - uses : actions/checkout@v4
6566
6667 - name : Install CUDA Toolkit
67- uses : Jimver/cuda-toolkit@v0.2.23
68+ uses : Jimver/cuda-toolkit@c35baa1a18fd1fc9dcf47c5bd839bf30559c0bc3 # v0.2.24
6869 if : startsWith(matrix.os, 'windows')
6970 id : cuda-toolkit
7071 with :
@@ -193,7 +194,7 @@ jobs:
193194 os : [ubuntu-22.04, windows-2025]
194195 arch : [x86_64]
195196 gpu : [T4, L40S]
196- cuda_version : ["11.8.0", "12.6.3", "12.8.1"]
197+ cuda_version : ["11.8.0", "12.6.3", "12.8.1", "12.9.1" ]
197198 include :
198199 - cuda_version : " 11.8.0"
199200 torch_version : " 2.2.2"
@@ -204,6 +205,9 @@ jobs:
204205 - cuda_version : " 12.8.1"
205206 torch_version : " 2.7.0"
206207 pypi_index : " https://download.pytorch.org/whl/cu128"
208+ - cuda_version : " 12.9.1"
209+ torch_version : " 2.8.0"
210+ pypi_index : " https://download.pytorch.org/whl/nightly/cu129"
207211
208212
209213 # Linux L40S runners
@@ -236,12 +240,14 @@ jobs:
236240 gpu : T4
237241 runner : CUDA-Windows-x64
238242 cuda_version : " 11.8.0"
239- torch_version : " 2.7.0 "
243+ torch_version : " 2.7.1 " # Note: this is the last PyTorch release supporting CUDA 11.8.
240244 pypi_index : " https://download.pytorch.org/whl/cu118"
241245
242246 exclude :
243247 # Our current T4 Windows runner has a driver too old (471.11)
244248 # and cannot support CUDA 12+. Skip for now.
249+ - os : windows-2025
250+ cuda_version : " 12.9.1"
245251 - os : windows-2025
246252 cuda_version : " 12.8.1"
247253 - os : windows-2025
@@ -273,7 +279,7 @@ jobs:
273279
274280 - name : Install dependencies
275281 run : |
276- pip install torch== ${{ matrix.torch_version }} --index-url ${{ matrix.pypi_index }}
282+ pip install --pre torch~= ${{ matrix.torch_version }}.dev0 --index-url ${{ matrix.pypi_index }}
277283 pip install -e ".[test]"
278284 pip install pytest-cov
279285
0 commit comments