4949 build-cuda :
5050 strategy :
5151 matrix :
52- cuda_version : ["11.8.0", "12.6.3", "12.8.1"]
52+ cuda_version : ["11.8.0", "12.6.3", "12.8.1", "12.9.0" ]
5353 os : [ubuntu-22.04, ubuntu-22.04-arm, windows-2025]
5454 include :
5555 - os : ubuntu-22.04
6464 - uses : actions/checkout@v4
6565
6666 - name : Install CUDA Toolkit
67- 67+ uses : Jimver/cuda-toolkit@f1b76035ffe6d08118acdd33faf5ce002cf7c023 # v0.2.25
6868 if : startsWith(matrix.os, 'windows')
6969 id : cuda-toolkit
7070 with :
@@ -231,7 +231,7 @@ jobs:
231231 os : [ubuntu-22.04, windows-2025]
232232 arch : [x86_64]
233233 gpu : [T4, L40S]
234- cuda_version : ["11.8.0", "12.6.3", "12.8.1"]
234+ cuda_version : ["11.8.0", "12.6.3", "12.8.1", "12.9.0" ]
235235 include :
236236 - cuda_version : " 11.8.0"
237237 torch_version : " 2.2.2"
@@ -242,6 +242,9 @@ jobs:
242242 - cuda_version : " 12.8.1"
243243 torch_version : " 2.7.1"
244244 pypi_index : " https://download.pytorch.org/whl/cu128"
245+ - cuda_version : " 12.9.0"
246+ torch_version : " 2.8.0"
247+ pypi_index : " https://download.pytorch.org/whl/nightly/cu129"
245248
246249
247250 # Linux L40S runners
@@ -274,12 +277,14 @@ jobs:
274277 gpu : T4
275278 runner : CUDA-Windows-x64
276279 cuda_version : " 11.8.0"
277- torch_version : " 2.7.1"
280+ torch_version : " 2.7.1" # Note: this is the last PyTorch release supporting CUDA 11.8.
278281 pypi_index : " https://download.pytorch.org/whl/cu118"
279282
280283 exclude :
281284 # Our current T4 Windows runner has a driver too old (471.11)
282285 # and cannot support CUDA 12+. Skip for now.
286+ - os : windows-2025
287+ cuda_version : " 12.9.0"
283288 - os : windows-2025
284289 cuda_version : " 12.8.1"
285290 - os : windows-2025
@@ -311,7 +316,7 @@ jobs:
311316
312317 - name : Install dependencies
313318 run : |
314- pip install torch==${{ matrix.torch_version }} --index-url ${{ matrix.pypi_index }}
319+ pip install --pre torch==${{ matrix.torch_version }} --index-url ${{ matrix.pypi_index }}
315320 pip install -e ".[test]"
316321 pip install pytest-cov
317322
0 commit comments