pytorch/torch/distributed/algorithms
Yuanyuan Chen 694db5f549 Use 'is' in callable comparisons (#166624)
Just like we use `is/is not` for class comparisons, it is generally advised to use `is/is not` for comparisons against torch functions.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/166624
Approved by: https://github.com/Lucaskabela, https://github.com/Skylion007
2025-10-30 19:00:09 +00:00
..
_checkpoint [3/N] Import Callable from collections.abc in torch/distributed (#164104) 2025-09-30 00:28:53 +00:00
_comm_hooks [BE]: Update mypy to 1.11.2 (#133816) 2024-09-16 19:44:11 +00:00
_optimizer_overlap PEP585 update - torch/distributed (#145164) 2025-01-21 04:23:29 +00:00
_quantization Use 'is' in callable comparisons (#166624) 2025-10-30 19:00:09 +00:00
ddp_comm_hooks Use correct pyrefly syntax in suppressions distributed/... (#166241) 2025-10-26 04:16:41 +00:00
model_averaging Fix flake8 B028 warnings (#166224) 2025-10-26 06:18:55 +00:00
__init__.py [BE][Easy] enable UFMT for torch/distributed/{algorithms,autograd,benchmarks,checkpoint,elastic}/ (#128866) 2024-06-18 13:51:53 +00:00
join.py Fix flake8 B028 warnings (#166224) 2025-10-26 06:18:55 +00:00