@@ -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- 68+ uses : Jimver/cuda-toolkit@c35baa1a18fd1fc9dcf47c5bd839bf30559c0bc3 # v0.2.24
6869 if : startsWith(matrix.os, 'windows')
6970 id : cuda-toolkit
7071 with :
@@ -358,7 +359,7 @@ jobs:
358359 os : [ubuntu-22.04, windows-2025]
359360 arch : [x86_64]
360361 gpu : [T4, L40S]
361- cuda_version : ["11.8.0", "12.6.3", "12.8.1"]
362+ cuda_version : ["11.8.0", "12.6.3", "12.8.1", "12.9.1" ]
362363 include :
363364 - cuda_version : " 11.8.0"
364365 torch_version : " 2.2.2"
@@ -369,6 +370,9 @@ jobs:
369370 - cuda_version : " 12.8.1"
370371 torch_version : " 2.7.1"
371372 pypi_index : " https://download.pytorch.org/whl/cu128"
373+ - cuda_version : " 12.9.1"
374+ torch_version : " 2.8.0"
375+ pypi_index : " https://download.pytorch.org/whl/nightly/cu129"
372376
373377
374378 # Linux L40S runners
@@ -401,12 +405,14 @@ jobs:
401405 gpu : T4
402406 runner : CUDA-Windows-x64
403407 cuda_version : " 11.8.0"
404- torch_version : " 2.7.1"
408+ torch_version : " 2.7.1" # Note: this is the last PyTorch release supporting CUDA 11.8.
405409 pypi_index : " https://download.pytorch.org/whl/cu118"
406410
407411 exclude :
408412 # Our current T4 Windows runner has a driver too old (471.11)
409413 # and cannot support CUDA 12+. Skip for now.
414+ - os : windows-2025
415+ cuda_version : " 12.9.1"
410416 - os : windows-2025
411417 cuda_version : " 12.8.1"
412418 - os : windows-2025
@@ -438,7 +444,7 @@ jobs:
438444
439445 - name : Install dependencies
440446 run : |
441- pip install torch== ${{ matrix.torch_version }} --index-url ${{ matrix.pypi_index }}
447+ pip install --pre torch~= ${{ matrix.torch_version }}.dev0 --index-url ${{ matrix.pypi_index }}
442448 pip install -e ".[test]"
443449 pip install pytest-cov
444450
0 commit comments