@@ -10,6 +10,11 @@ concurrency:
1010 group : ${{ github.workflow }}-${{ github.ref }}
1111 cancel-in-progress : true
1212
13+ env :
14+ # Skip rebuilding the CPU library when installing the wheels.
15+ # We build the libraries in separate jobs and upload as artifacts.
16+ BNB_SKIP_CMAKE : 1
17+
1318jobs :
1419
1520 build-cpu :
4954 build-cuda :
5055 strategy :
5156 matrix :
52- # TODO: Add 13.0.1 when we have runners with new enough drivers.
53- cuda_version : ["11.8.0", "12.6.3", "12.8.1", "12.9.1"]
57+ cuda_version : ["11.8.0", "12.6.3", "12.8.1", "13.0.1"]
5458 os : [ubuntu-22.04, ubuntu-22.04-arm]
5559 include :
5660 - os : ubuntu-22.04
@@ -103,7 +107,7 @@ jobs:
103107 matrix :
104108 os : [ubuntu-22.04, ubuntu-22.04-arm, windows-2025, macos-15]
105109 # Test with the oldest supported torch version, the newest two stable/RC.
106- torch_version : ["2.3.1", "2.7.1 ", "2.8 .0"]
110+ torch_version : ["2.3.1", "2.8.0 ", "2.9 .0"]
107111 include :
108112 - os : ubuntu-22.04
109113 arch : x86_64
@@ -146,7 +150,7 @@ jobs:
146150 - name : Install dependencies
147151 run : |
148152 pip install torch==${{ matrix.torch_version }} --index-url https://download.pytorch.org/whl/cpu
149- pip install -e ".[test]"
153+ pip install -e ".[test]" -v
150154 pip install pytest-cov
151155
152156 # We need to downgrade to numpy<2 for torch<2.4.1 compatibility on Windows
@@ -188,7 +192,7 @@ jobs:
188192 - name : Install dependencies
189193 run : |
190194 pip install torch==2.7.1 --index-url https://download.pytorch.org/whl/cpu
191- pip install -e ".[test]"
195+ pip install -e ".[test]" -v
192196 pip install pytest-cov
193197
194198 - name : Show installed packages
@@ -263,7 +267,7 @@ jobs:
263267
264268 - name : Install dependencies
265269 run : |
266- pip install -e ".[test]"
270+ pip install -e ".[test]" -v
267271 pip install pytest-cov
268272
269273 - name : Show installed packages
@@ -321,7 +325,7 @@ jobs:
321325
322326 - name : Install dependencies
323327 run : |
324- pip install -e ".[test]"
328+ pip install -e ".[test]" -v
325329 pip install pytest-cov
326330
327331 - name : Show installed packages
@@ -344,26 +348,20 @@ jobs:
344348 os : [ubuntu-22.04, windows-2025]
345349 arch : [x86_64]
346350 gpu : [T4, L40S]
347- cuda_version : ["11.8.0", "12.6.3", "12.8.1", "12.9.1"] # , " 13.0.1"]
351+ cuda_version : ["11.8.0", "12.6.3", "12.8.1", "13.0.1"]
348352 include :
349353 - cuda_version : " 11.8.0"
350354 torch_version : " 2.3.1"
351355 pypi_index : " https://download.pytorch.org/whl/cu118"
352356 - cuda_version : " 12.6.3"
353- torch_version : " 2.6.0 "
357+ torch_version : " 2.7.1 "
354358 pypi_index : " https://download.pytorch.org/whl/cu126"
355- - cuda_version : " 12.9.1"
356- torch_version : " 2.8.0"
357- pypi_index : " https://download.pytorch.org/whl/cu129"
358359 - cuda_version : " 12.8.1"
359- torch_version : " 2.9.0"
360- pypi_index : " https://download.pytorch.org/whl/test/cu128"
361-
362- # Note: Currently our runners do not have new enough drivers for CUDA 13.
363- # Add this when supported.
364- # - cuda_version: "13.0.1"
365- # torch_version: "2.9.0"
366- # pypi_index: "https://download.pytorch.org/whl/test/cu130"
360+ torch_version : " 2.8.0"
361+ pypi_index : " https://download.pytorch.org/whl/cu128"
362+ - cuda_version : " 13.0.1"
363+ torch_version : " 2.9.1"
364+ pypi_index : " https://download.pytorch.org/whl/cu130"
367365
368366
369367 # Linux L40S runners
@@ -438,7 +436,7 @@ jobs:
438436 - name : Install dependencies
439437 run : |
440438 pip install --pre torch~=${{ matrix.torch_version }}.dev0 --index-url ${{ matrix.pypi_index }}
441- pip install -e ".[test]"
439+ pip install -e ".[test]" -v
442440 pip install pytest-cov
443441 - name : Show installed packages
444442 run : pip list
0 commit comments