Skip to content

Commit d8a4fe2

Browse files
Update tests.yml
Use new L4 and CPU runners for testing.
1 parent 5b12eb4 commit d8a4fe2

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,14 @@ jobs:
104104
include:
105105
- os: ubuntu-22.04
106106
arch: x86_64
107+
runner: banb-aws-general-8-plus-use1-public-80
107108
- os: ubuntu-22.04-arm
108109
arch: aarch64
109110
- os: windows-2025
110111
arch: x86_64
111112
- os: macos-15
112113
arch: arm64
113-
runs-on: ${{ matrix.os }}
114+
runs-on: ${{ matrix.runner || matrix.os }}
114115
env:
115116
BNB_TEST_DEVICE: cpu
116117
steps:
@@ -156,13 +157,22 @@ jobs:
156157
- cuda_version: "12.8.1"
157158
torch_version: "2.7.0"
158159
pypi_index: "https://download.pytorch.org/whl/cu128"
160+
161+
# L4 runners
162+
- os: ubuntu-22.04
163+
runner: bandb-aws-g6-4xlarge-plus-use1-public-80
164+
165+
# T4 runners
166+
- os: ubuntu-22.04
167+
runner: CUDA-Linux-x64
168+
- os: windows-2025
169+
runner: CUDA-Windows-x64
159170
exclude:
160171
# Our current T4 Windows runner has a driver too old (471.11)
161172
# and cannot support CUDA 12+. Skip for now.
162173
- os: windows-2025
163174
cuda_version: "12.8.1"
164-
runs-on:
165-
labels: ${{ contains(matrix.os, 'windows') && 'CUDA-Windows-x64' || 'bandb-aws-g6-4xlarge-plus-use1-public-80' }}
175+
runs-on: ${{ matrix.runner }}
166176
env:
167177
BNB_TEST_DEVICE: cuda
168178
steps:

0 commit comments

Comments
 (0)