Skip to content

Commit 43b7d51

Browse files
test
1 parent 0623333 commit 43b7d51

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/tests.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,28 @@ jobs:
222222
# - name: Show pip packages
223223
# run: pip list
224224

225+
test-hpu:
226+
if: github.repository == 'bitsandbytes-foundation/bitsandbytes'
227+
needs: build-cpu
228+
strategy:
229+
fail-fast: false
230+
matrix:
231+
torch_version: ["2.6.0"]
232+
runs-on:
233+
group: bandb-itac-bmemr-gaudi3-1gaudi
234+
env:
235+
BNB_TEST_DEVICE: hpu
236+
steps:
237+
- name: Show system information
238+
run: |
239+
echo "OS: $(uname -a)"
240+
echo "CPU: $(lscpu | grep 'Model name')"
241+
echo "Memory: $(free -h)"
242+
243+
- name: Show HPU Information
244+
run: |
245+
hpu-smi
246+
225247
test-xpu:
226248
if: github.repository == 'bitsandbytes-foundation/bitsandbytes'
227249
needs: build-cpu
@@ -252,6 +274,8 @@ jobs:
252274
- name: Show XPU Information
253275
run: |
254276
xpu-smi discovery
277+
lspci
278+
apt-get install -y hwinfo
255279
hwinfo --display
256280
257281
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)