pytorch/torch/multiprocessing
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
_atfork.py
cuda_multiprocessing.md
pool.py
queue.py
reductions.py [BE][12/16] fix typos in torch/ (#156602) 2025-07-02 22:55:29 +00:00
spawn.py Fix flake8 B028 warnings (#166224) 2025-10-26 06:18:55 +00:00