Skip to content

Improve testing coverage across all device hw types #8669

Open
@rpsilva-aws

Description

@rpsilva-aws

🐛 Bug

We're currently maintaining test/run_tests.sh (CPU), test/tpu/run_tests.sh (TPU) and test/neuron/run_tests.sh (Trainium). Subsequently, anyone adding a test is required to add the test on all 3 locations, in addition to being given the option to skip (intentionally or not) a specific hardware device type. Therefore, it is evident that not all tests are present in all three files, and there is no tracking visibility if these were deliberately not added, in addition to its reasoning.

Expected behavior

We should move all of the tests under a single location, and use fixtures to mark tests to skip for a specific device / hardware. In addition we can specify and split/group tests to run under a specific runner, when distributing the tests across the CI/CD. The expected behavior is that skipped tests have a reason/motivation that is concisely described or tracked under a bug/feature item.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions