pytorch/torch/distributed/elastic/multiprocessing/errors
Yuanyuan Chen a60d9e1f6d Fix flake8 B028 warnings (#166224)
This PR fixes flake8 B028 warning by specifying stacklevel=2 in `warnings.warn`. The advantage is that users can know more contextual information about PyTorch warnings.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/166224
Approved by: https://github.com/ezyang
2025-10-26 06:18:55 +00:00
..
__init__.py [APF Logging][Error Trait] To fill the errorTraits for ChildFailedError with signal abort (re-attempt of #165476) (#165688) 2025-10-17 08:23:27 +00:00
error_handler.py Fix flake8 B028 warnings (#166224) 2025-10-26 06:18:55 +00:00
handlers.py remove allow-untyped-defs from distributed/elastic/multiprocessing/errors/handlers.py (#143869) 2024-12-27 15:49:19 +00:00