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
_optimizer_overlap
_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
join.py Fix flake8 B028 warnings (#166224) 2025-10-26 06:18:55 +00:00