pytorch/torch/distributed/tensor/_ops
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
..
__init__.py [dtensor] add op support for select_backward and slice_backward (#150357) 2025-04-01 19:15:25 +00:00
_common_rules.py Add pyrefly suppressions to torch/distributed (7/n) (#165002) 2025-10-09 04:08:25 +00:00
_conv_ops.py
_einsum_strategy.py Fix einsum strategy shard dim > ndim (#157593) 2025-07-08 20:27:17 +00:00
_embedding_ops.py Revert "Reapply "C++-accessible Placements via pybind11 (#163030)" (#164519)" 2025-10-07 19:46:17 +00:00
_math_ops.py Add pyrefly suppressions to torch/distributed (7/n) (#165002) 2025-10-09 04:08:25 +00:00
_matrix_ops.py Add pyrefly suppressions to torch/distributed (7/n) (#165002) 2025-10-09 04:08:25 +00:00
_pointwise_ops.py [DTensor] Add _foreach_pow to sharding propagation list. (#162895) 2025-09-15 21:14:06 +00:00
_random_ops.py [1/N] cost coverage improvment (#157504) 2025-07-10 23:55:45 +00:00
_tensor_ops.py Remove unnecessary list comprehensions (#164103) 2025-09-30 03:56:54 +00:00
_view_ops.py [3/N] Import Callable from collections.abc in torch/distributed (#164104) 2025-09-30 00:28:53 +00:00
utils.py Add pyrefly suppressions to torch/distributed (7/n) (#165002) 2025-10-09 04:08:25 +00:00