onnxruntime/tools/ci_build/github/pai
PeixuanZuo d3a09cf77f
[ROCm] use pytest-xdist for fast pytest (#14261)
### Description

Use pytest-xdist to distribute tests across multiple CPUs to speed up
test execution.
Use pytest-rerunfailures to rerun failed test in case of pytest-xdist
crash.
`pytest -n 16` can reduce pytest time from 80 minutes to 20 minutes.


### Motivation and Context
Now kernel explorer pytest of ROCm CI takes nearly 1 hour 20 minutes. It
will take longer time when we add more tunableOp in the future.
2023-01-13 16:57:50 +08:00
..
buildtrainingdoc.sh
migraphx-excluded-tests.txt
migraphx_test_launcher.sh
orttraining-ci.yml
pai-excluded-tests.txt
pai_get_thread.sh
pai_test_launcher.sh
requirements.txt
rocm-ci-pipeline-env.Dockerfile
wrap_rocm_python_doc_publisher.sh