pytorch/torch/distributed/elastic/agent/server
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 Doc: Add and fix docstrings for torch.distributed files (#112735) 2023-11-15 00:49:07 +00:00
api.py Fix flake8 B028 warnings (#166224) 2025-10-26 06:18:55 +00:00
health_check_server.py [3/N] Import Callable from collections.abc in torch/distributed (#164104) 2025-09-30 00:28:53 +00:00
local_elastic_agent.py Use correct pyrefly syntax in suppressions distributed/... (#166241) 2025-10-26 04:16:41 +00:00