Skip to content

Commit b2e98d6

Browse files
Run HPU tests only with yml (#12469) (#12478)
* Run HPU tests only with yml (#12469) Execute supported tests serially Signed-off-by: Jerome <[email protected]>
1 parent 2e5728a commit b2e98d6

File tree

2 files changed

+10
-150
lines changed

2 files changed

+10
-150
lines changed

.azure-pipelines/hpu-tests.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,16 @@ jobs:
3737
displayName: 'Install dependencies'
3838
3939
- bash: |
40-
python ".azure-pipelines/run_hpu_tests.py"
41-
displayName: 'HPU Tests in parallel'
40+
python -m pytest -sv tests/accelerators/test_hpu.py --forked --junitxml=hpu1_test-results.xml
41+
displayName: 'Single card HPU test'
42+
43+
- bash: |
44+
python -m pytest -sv tests/accelerators/test_hpu.py --forked --hpus 8 --junitxml=hpu8_test-results.xml
45+
displayName: 'Multi card(8) HPU test'
46+
47+
- bash: |
48+
python -m pytest -sv tests/plugins/precision/hpu/test_hpu.py --hmp-bf16 'tests/plugins/precision/hpu/ops_bf16.txt' --hmp-fp32 'tests/plugins/precision/hpu/ops_fp32.txt' --forked --junitxml=hpu1_precision_test-results.xml
49+
displayName: 'HPU precision test'
4250
4351
- bash: |
4452
export PYTHONPATH="${PYTHONPATH}:$(pwd)"

.azure-pipelines/run_hpu_tests.py

Lines changed: 0 additions & 148 deletions
This file was deleted.

0 commit comments

Comments
 (0)