Open tianleiwu opened 1 day ago
Currently, transformers tests are enabled in the following CI pipelines:
For ROCm CI Pipeline, transformer tests are enabled but skipped since onnx package is not installed in CI.
Previously, torch was not installed before python tests, so some tests depending on torch were skipped like test_bind_onnx_types_not_supported_by_numpy or test user_compute_stream.
In this PR, we changed build.py to install torch before running python tests.
Description
Motivation and Context
Currently, transformers tests are enabled in the following CI pipelines:
For ROCm CI Pipeline, transformer tests are enabled but skipped since onnx package is not installed in CI.
Previously, torch was not installed before python tests, so some tests depending on torch were skipped like test_bind_onnx_types_not_supported_by_numpy or test user_compute_stream.
In this PR, we changed build.py to install torch before running python tests.