@@ -77,14 +77,14 @@ jobs:
77
77
if : startsWith(matrix.os, 'windows')
78
78
uses : ilammy/msvc-dev-cmd@v1.13.0 # to use cl
79
79
80
- # We're running on T4 only for now, so we only target sm75 .
80
+ # Target just the architectures used for our runners .
81
81
- name : Build C++ / CUDA
82
82
run : bash .github/scripts/build-cuda.sh
83
83
env :
84
84
build_os : ${{ matrix.os }}
85
85
build_arch : ${{ matrix.arch }}
86
86
cuda_version : ${{ matrix.cuda_version }}
87
- cuda_targets : " 75"
87
+ cuda_targets : " 75;89 "
88
88
89
89
- name : Upload build artifact
90
90
uses : actions/upload-artifact@v4
@@ -104,13 +104,14 @@ jobs:
104
104
include :
105
105
- os : ubuntu-22.04
106
106
arch : x86_64
107
+ runner : banb-aws-general-8-plus-use1-public-80
107
108
- os : ubuntu-22.04-arm
108
109
arch : aarch64
109
110
- os : windows-2025
110
111
arch : x86_64
111
112
- os : macos-15
112
113
arch : arm64
113
- runs-on : ${{ matrix.os }}
114
+ runs-on : ${{ matrix.runner || matrix. os }}
114
115
env :
115
116
BNB_TEST_DEVICE : cpu
116
117
steps :
@@ -148,6 +149,7 @@ jobs:
148
149
matrix :
149
150
os : [ubuntu-22.04, windows-2025]
150
151
arch : [x86_64]
152
+ gpu : [T4, L4]
151
153
cuda_version : ["11.8.0", "12.8.1"]
152
154
include :
153
155
- cuda_version : " 11.8.0"
@@ -156,13 +158,29 @@ jobs:
156
158
- cuda_version : " 12.8.1"
157
159
torch_version : " 2.7.0"
158
160
pypi_index : " https://download.pytorch.org/whl/cu128"
161
+
162
+ # L4 runners
163
+ - os : ubuntu-22.04
164
+ gpu : L4
165
+ runner : bandb-aws-g6-4xlarge-plus-use1-public-80
166
+
167
+ # T4 runners
168
+ - os : ubuntu-22.04
169
+ gpu : T4
170
+ runner : CUDA-Linux-x64
171
+ - os : windows-2025
172
+ gpu : T4
173
+ runner : CUDA-Windows-x64
159
174
exclude :
160
175
# Our current T4 Windows runner has a driver too old (471.11)
161
176
# and cannot support CUDA 12+. Skip for now.
162
177
- os : windows-2025
163
178
cuda_version : " 12.8.1"
164
- runs-on :
165
- labels : ${{ contains(matrix.os, 'windows') && 'CUDA-Windows-x64' || 'CUDA-Linux-x64' }}
179
+
180
+ # No Windows L4 runners.
181
+ - os : windows-2025
182
+ gpu : L4
183
+ runs-on : ${{ matrix.runner }}
166
184
env :
167
185
BNB_TEST_DEVICE : cuda
168
186
steps :
0 commit comments