4949 build-cuda :
5050 strategy :
5151 matrix :
52- cuda_version : ["11.8.0", "12.8.1"]
52+ cuda_version : ["11.8.0", "12.6.3", "12. 8.1"]
5353 os : [ubuntu-22.04, ubuntu-22.04-arm, windows-2025]
5454 include :
5555 - os : ubuntu-22.04
@@ -100,7 +100,7 @@ jobs:
100100 fail-fast : false
101101 matrix :
102102 os : [ubuntu-22.04, ubuntu-22.04-arm, windows-2025, macos-15]
103- torch_version : ["2.7.0"]
103+ torch_version : ["2.6.0", "2. 7.0"]
104104 include :
105105 - os : ubuntu-22.04
106106 arch : x86_64
@@ -138,9 +138,35 @@ jobs:
138138 - name : Show installed packages
139139 run : pip list
140140
141+ - name : Show environment information
142+ run : python -m torch.utils.collect_env
143+
141144 - name : Run tests
142145 run : pytest --durations=100
143146
147+ # cuda-aarch64-tests:
148+ # if: github.repository == 'bitsandbytes-foundation/bitsandbytes'
149+ # needs: build-cuda
150+ # strategy:
151+ # fail-fast: false
152+ # matrix:
153+ # os: [ubuntu-22.04-arm]
154+ # arch: [aarch64]
155+ # torch_version: ["2.7.0"]
156+ # cuda_version: ["11.8.0", "12.8.1"]
157+
158+ # runs-on: bandb-aws-g5g-4xlarge-plus-use1-public-80
159+ # env:
160+ # BNB_TEST_DEVICE: cuda
161+ # steps:
162+ # - name: Show GPU Information
163+ # run: nvidia-smi
164+
165+ # - name: Show pip packages
166+ # run: pip list
167+
168+
169+
144170 cuda-tests :
145171 if : github.repository == 'bitsandbytes-foundation/bitsandbytes'
146172 needs : build-cuda
@@ -149,25 +175,28 @@ jobs:
149175 matrix :
150176 os : [ubuntu-22.04, windows-2025]
151177 arch : [x86_64]
152- gpu : [T4, L4 ]
153- cuda_version : ["11.8.0", "12.8.1"]
178+ gpu : [T4, L40S ]
179+ cuda_version : ["11.8.0", "12.6.3", "12. 8.1"]
154180 include :
155181 - cuda_version : " 11.8.0"
156182 torch_version : " 2.4.1"
157183 pypi_index : " https://download.pytorch.org/whl/cu118"
184+ - cuda_version : " 12.6.3"
185+ torch_version : " 2.6.0"
186+ pypi_index : " https://download.pytorch.org/whl/cu126"
158187 - cuda_version : " 12.8.1"
159188 torch_version : " 2.7.0"
160189 pypi_index : " https://download.pytorch.org/whl/cu128"
161190
162- # L4 runners
191+ # L40S runners
163192 - os : ubuntu-22.04
164- gpu : L4
165- runner : bandb-aws-g6 -4xlarge-plus-use1-public-80
193+ gpu : L40S
194+ runner : bandb-aws-g6e -4xlarge-plus-use1-public-80
166195
167196 # T4 runners
168197 - os : ubuntu-22.04
169198 gpu : T4
170- runner : CUDA-Linux-x64
199+ runner : bandb-aws-g4dn-4xlarge-plus-use1-public-80
171200 - os : windows-2025
172201 gpu : T4
173202 runner : CUDA-Windows-x64
@@ -176,10 +205,12 @@ jobs:
176205 # and cannot support CUDA 12+. Skip for now.
177206 - os : windows-2025
178207 cuda_version : " 12.8.1"
208+ - os : windows-2025
209+ cuda_version : " 12.6.3"
179210
180- # No Windows L4 runners.
211+ # No Windows L40S runners.
181212 - os : windows-2025
182- gpu : L4
213+ gpu : L40S
183214 runs-on : ${{ matrix.runner }}
184215 env :
185216 BNB_TEST_DEVICE : cuda
@@ -210,5 +241,8 @@ jobs:
210241 - name : Show installed packages
211242 run : pip list
212243
244+ - name : Show environment information
245+ run : python -m torch.utils.collect_env
246+
213247 - name : Run tests
214248 run : pytest --durations=100
0 commit comments