diff --git a/projects/hipblaslt/CMakeLists.txt b/projects/hipblaslt/CMakeLists.txt index 7af7281d562f..cd93a106ce0a 100644 --- a/projects/hipblaslt/CMakeLists.txt +++ b/projects/hipblaslt/CMakeLists.txt @@ -824,6 +824,13 @@ if(HIPBLASLT_INSTALL_TENSILELITE_TEST_ARTIFACTS AND NOT WIN32) OPTIONAL ) + # Python dependencies for running tests from the installed artifact. + install( + FILES "${_tensilelite_src}/requirements-test.txt" + DESTINATION "${_tensilelite_install_dest}" + COMPONENT tests + ) + if(TENSILELITE_ENABLE_CLIENT) install( TARGETS tensilelite-client diff --git a/projects/hipblaslt/tensilelite/requirements-dev.txt b/projects/hipblaslt/tensilelite/requirements-dev.txt index d6b7fcd75fed..28fca7235f59 100644 --- a/projects/hipblaslt/tensilelite/requirements-dev.txt +++ b/projects/hipblaslt/tensilelite/requirements-dev.txt @@ -1,3 +1,4 @@ -r ./requirements.txt +-r ./requirements-test.txt ./rocisa memory_profiler diff --git a/projects/hipblaslt/tensilelite/requirements-test.txt b/projects/hipblaslt/tensilelite/requirements-test.txt new file mode 100644 index 000000000000..ad498175abb9 --- /dev/null +++ b/projects/hipblaslt/tensilelite/requirements-test.txt @@ -0,0 +1,14 @@ +# Python dependencies for running the artifact-based TensileLite and rocisa tests. +# Keep the version limits equal to tox.ini and pyproject.toml. +# TODO: generate this from pyproject.toml +pytest>=5.4.1 +pytest-timeout==2.4.0 +PyYAML +packaging +msgpack>=1.0.0 +joblib>=1.4.0 +numpy>=1.26.0 +filelock>=3.0.0 +syrupy +hip-python; sys_platform != "win32" +pytest-xdist>=1.32.0