pytorch/tools/test
Catherine Lee 06a0cfc0ea pytest to run test_ops, test_ops_gradients, test_ops_jit in non linux cuda environments (#79898)
This PR uses pytest to run test_ops, test_ops_gradients, and test_ops_jit in parallel in non linux cuda environments to decrease TTS.  I am excluding linux cuda because running in parallel results in errors due to running out of memory

Notes:
* update hypothesis version for compatability with pytest
* use rerun-failures to rerun tests (similar to flaky tests, although these test files generally don't have flaky tests)
  * reruns are denoted by a rerun tag in the xml.  Failed reruns also have the failure tag.  Successes (meaning that the test is flaky) do not have the failure tag.
* see https://docs.google.com/spreadsheets/d/1aO0Rbg3y3ch7ghipt63PG2KNEUppl9a5b18Hmv2CZ4E/edit#gid=602543594 for info on speedup (or slowdown in the case of slow tests)
  * expecting windows tests to decrease by 60 minutes total
* slow test infra is expected to stay the same - verified by running pytest and unittest on the same job and check the number of skipped/run tests
* test reports to s3 changed - add entirely new table to keep track of invoking_file times
Pull Request resolved: https://github.com/pytorch/pytorch/pull/79898
Approved by: https://github.com/malfet, https://github.com/janeyx99
2022-07-19 19:50:57 +00:00
..
gen_operators_yaml_test.py Consolidate all python targets in the tools folder (#80408) 2022-06-29 23:27:47 +00:00
gen_oplist_test.py Consolidate all python targets in the tools folder (#80408) 2022-06-29 23:27:47 +00:00
test_cmake.py Apply ufmt linter to all py files under tools (#81285) 2022-07-13 07:59:22 +00:00
test_codegen.py Apply ufmt linter to all py files under tools (#81285) 2022-07-13 07:59:22 +00:00
test_codegen_model.py Apply ufmt linter to all py files under tools (#81285) 2022-07-13 07:59:22 +00:00
test_gen_backend_stubs.py Apply ufmt linter to all py files under tools (#81285) 2022-07-13 07:59:22 +00:00
test_import_test_stats.py Apply ufmt linter to all py files under tools (#81285) 2022-07-13 07:59:22 +00:00
test_selective_build.py Consolidate all python targets in the tools folder (#80408) 2022-06-29 23:27:47 +00:00
test_stats.py
test_test_history.py
test_test_selections.py Apply ufmt linter to all py files under tools (#81285) 2022-07-13 07:59:22 +00:00
test_upload_test_stats.py pytest to run test_ops, test_ops_gradients, test_ops_jit in non linux cuda environments (#79898) 2022-07-19 19:50:57 +00:00
test_utils.py [torchgen] Support multiple namespace in NativeFunctions.h (#79733) 2022-07-08 21:56:52 +00:00