pytorch/torch/distributed/algorithms
Yuanyuan Chen fbe0d20a17 [2/N] More ruff SIM fixes (#165031)
This is follow-up of #164695 to apply ruff SIM rules to more files. Most changes are about simplifying dict.get because None is already the default value.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/165031
Approved by: https://github.com/mlazos
2025-10-14 14:22:54 +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 [2/N] More ruff SIM fixes (#165031) 2025-10-14 14:22:54 +00:00
ddp_comm_hooks Add suppressions to torch/_inductor (#165062) 2025-10-09 20:34:20 +00:00
model_averaging Revert "[RELAND] Always build USE_DISTRIBUTED (#160449) and Make distributed modules importable even when backend not built (#159889) (#162594)" 2025-09-25 13:47:46 +00:00
__init__.py
join.py Add pyrefly suppressions to torch/distributed (7/n) (#165002) 2025-10-09 04:08:25 +00:00