pytorch/torch/distributed/elastic
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
..
agent Fix flake8 B028 warnings (#166224) 2025-10-26 06:18:55 +00:00
events Use correct pyrefly syntax in suppressions distributed/... (#166241) 2025-10-26 04:16:41 +00:00
metrics Use correct pyrefly syntax in suppressions distributed/... (#166241) 2025-10-26 04:16:41 +00:00
multiprocessing Fix flake8 B028 warnings (#166224) 2025-10-26 06:18:55 +00:00
rendezvous Use correct pyrefly syntax in suppressions distributed/... (#166241) 2025-10-26 04:16:41 +00:00
timer Enable all PIE rules on ruff (#165814) 2025-10-18 07:36:18 +00:00
utils Fix flake8 B028 warnings (#166224) 2025-10-26 06:18:55 +00:00
__init__.py
control_plane.py Revert "[RELAND] Always build USE_DISTRIBUTED (#160449) and Make distributed modules importable even when backend not built (#159889) (#162594)" 2025-09-25 13:47:46 +00:00