pytorch/torch/testing
Will Constable 2c4281d7da Make MultiProcContinuousTest timeout configurable (#145099)
Allows test classes using MPCT to set their own timeout as a class
property, which is good enough since the processgroup is shared across
test instances and the timeout is set at processgroup init.

Also sets a default timeout of 2 minutes, which is probably (?) long
enough for reasonable tests, but can be changed if it causes flakyness.
It's preferable to have as short default timeout as possible, since when
debugging tests getting a timeout quickly helps.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/145099
Approved by: https://github.com/d4l3k, https://github.com/fduwjj
ghstack dependencies: #145010, #145011
2025-01-18 04:37:12 +00:00
..
_internal Make MultiProcContinuousTest timeout configurable (#145099) 2025-01-18 04:37:12 +00:00
__init__.py
_comparison.py Migrate from Tuple -> tuple in torch/testing (#144256) 2025-01-10 06:37:55 +00:00
_creation.py Migrate from Tuple -> tuple in torch/testing (#144256) 2025-01-10 06:37:55 +00:00
_utils.py