pytorch/torch/distributed/tensor/examples
Maggie Moss 7457d139c5 Add pyrefly suppressions to torch/distributed (7/n) (#165002)
Adds suppressions to pyrefly will typecheck clean: https://github.com/pytorch/pytorch/issues/163283

One more PR after this one.

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/165002
Approved by: https://github.com/oulgen
2025-10-09 04:08:25 +00:00
..
comm_mode_features_example.py [3/N] Import Callable from collections.abc in torch/distributed (#164104) 2025-09-30 00:28:53 +00:00
convnext_example.py [1/N] Simplify "in" operation for containers of a single item (#164224) 2025-09-30 19:59:43 +00:00
flex_attention_cp.py
torchrec_sharding_example.py Add pyrefly suppressions to torch/distributed (7/n) (#165002) 2025-10-09 04:08:25 +00:00
visualize_sharding_example.py