Paramatize test_aten_xla_tensor tests #8772
Labels
enhancement
New feature or request
testing
Testing and coverage related issues.
usability
Bugs/features related to improving the usability of PyTorch/XLA
🚀 Feature
Paramatize test_aten_xla_tensor tests. Inspired by #8734 (comment).
Example of a test_aten_xla_tensor tests: test_aten_xla_tensor_1
Motivation
Decrease and simplify the amount of code we have for testing while increasing readability. Right now test_aten_xla_tensor tests are split into 6 distinct files. Each with over 1000 lines each. 2 with over 5000 lines. This makes tests hard to read, and implementing new tests.
Paramatization will hopefully:
Pitch
Collapse tests that are simililar into the same Parameterized test.
Alternatives
There are other paramitization methods for C++ that are less clean than INSTANTIATE_TEST_SUITE_P. We could seek these if they are blockers
Additional context
We should utilize INSTANTIATE_TEST_SUITE_P
The text was updated successfully, but these errors were encountered: