File tree Expand file tree Collapse file tree 1 file changed +36
-6
lines changed Expand file tree Collapse file tree 1 file changed +36
-6
lines changed Original file line number Diff line number Diff line change @@ -231,12 +231,14 @@ jobs:
231231 torch_version : ["2.6.0"]
232232 runs-on :
233233 group : bandb-itac-bmemr-gaudi3-1gaudi
234- # container:
235- # image: vault.habana.ai/gaudi-docker/1.20.1/ubuntu22.04/habanalabs/pytorch-installer-2.6.0:latest
236- # options: --runtime=habana --shm-size=64G --env HABANA_VISIBLE_DEVICES --env HABANA_VISIBLE_MODULES
237- # env:
238- # OMPI_MCA_btl_vader_single_copy_mechanism: none
239- # BNB_TEST_DEVICE: hpu
234+ env :
235+ BNB_TEST_DEVICE : hpu
236+ container :
237+ image : vault.habana.ai/gaudi-docker/1.20.1/ubuntu22.04/habanalabs/pytorch-installer-2.6.0:latest
238+ options : --runtime=habana --shm-size=64G --env HABANA_VISIBLE_DEVICES --env HABANA_VISIBLE_MODULES
239+ env :
240+ OMPI_MCA_btl_vader_single_copy_mechanism : none
241+ BNB_TEST_DEVICE : hpu
240242 steps :
241243 - name : Show system information
242244 run : |
@@ -248,6 +250,34 @@ jobs:
248250 run : |
249251 hl-smi
250252
253+ - uses : actions/checkout@v4
254+
255+ - name : Download build artifact
256+ uses : actions/download-artifact@v4
257+ with :
258+ name : lib_cpu_ubuntu-22.04_x86_64
259+ path : bitsandbytes/
260+ merge-multiple : true
261+
262+ - name : Show installed packages
263+ run : pip list
264+
265+ - name : Install dependencies
266+ run : |
267+ pip install -e ".[test]"
268+ pip install pytest-cov
269+
270+ - name : Show installed packages
271+ run : pip list
272+
273+ - name : Show environment information
274+ run : |
275+ python -m torch.utils.collect_env
276+ python -m bitsandbytes
277+
278+ - name : Run tests
279+ run : pytest --durations=100
280+
251281 test-xpu :
252282 if : github.repository == 'bitsandbytes-foundation/bitsandbytes'
253283 needs : build-cpu
You can’t perform that action at this time.
0 commit comments