pytorch/torch/nn/parallel
Maggie Moss c855f8632e Pyrefly suppressions 7/n (#164913)
Adds suppressions to pyrefly will typecheck clean: https://github.com/pytorch/pytorch/issues/163283

Almost there!

Test plan:
dmypy restart && python3 scripts/lintrunner.py -a
pyrefly check

step 1: delete lines in the pyrefly.toml file from the project-excludes field
step 2: run pyrefly check
step 3: add suppressions, clean up unused suppressions
before: https://gist.github.com/maggiemoss/4b3bf2037014e116bc00706a16aef199

after:
 INFO 0 errors (6,884 ignored)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/164913
Approved by: https://github.com/oulgen
2025-10-08 07:27:17 +00:00
..
__init__.py remove allow-untyped-defs for torch/nn/parallel/__init__.py (#143437) 2024-12-18 08:50:37 +00:00
_functions.py [BE][PYFMT] migrate PYFMT for {torch,test}/{nn,optim}/** to ruff format (#144548) 2025-06-14 11:27:04 +00:00
comm.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
data_parallel.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
distributed.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
parallel_apply.py use torch.accelerator and device_module instead of cuda to make DataParallel more device agnostic. (#162573) 2025-09-11 10:04:27 +00:00
replicate.py [BE][12/16] fix typos in torch/ (#156602) 2025-07-02 22:55:29 +00:00
scatter_gather.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00