* Adding missing pre-commit requirement to tests.txt
* Added support for setting a timeout for distributed learning
* Adding documentation about how to change the runtime timeout into the distributed manual.
* Fixed type in documentation to correctly specify an integer
* Removing type-cast after checking the correct type already before
* Update mmengine/dist/utils.py
Adding an explicit `is not None` to the check
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
* Removing explicit type check and replacing it with more pythonic way of assuming it is the right type and handling the exception if the type doesn't match.
* Removing pre-commit from test requirements again
* Simplified the code according to suggestions from PR
* Update distributed.md
---------
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>