pytorch/torch/distributed/rpc
Aaron Gokaslan 4f4ecc583e [BE]: Enable RUFF TRY400 rule - log.exception (#153473)
Change logging.error to logging.exception to log additional information when relevant.  A few places have slipped in logging.errors in try except since I last did a clean up here and the rule is stabilized so I am enabling it codebase wide. I have NOQA'd much of our custom exception stack trace handling for RPC calls and distributed and tried to a fix a few errors based on whether we immediately reraised it or if we didn't print any exception handling where it could be useful.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/153473
Approved by: https://github.com/albanD, https://github.com/cyyever
2025-05-15 13:36:59 +00:00
..
_testing
__init__.py PEP585: More UP006 fixes (#146392) 2025-02-20 06:18:13 +00:00
_utils.py [BE]: Enable RUFF TRY400 rule - log.exception (#153473) 2025-05-15 13:36:59 +00:00
api.py [BE]: Enable RUFF TRY400 rule - log.exception (#153473) 2025-05-15 13:36:59 +00:00
backend_registry.py [BE][Ez]: ISC001 Auto concatenate implicit one line strings (#146408) 2025-02-04 19:07:04 +00:00
constants.py PEP585 update - torch/distributed (#145164) 2025-01-21 04:23:29 +00:00
functions.py
internal.py
options.py [BE][PYFMT] migrate PYFMT for torch.{distributed,distributions} to ruff format (#144547) 2025-02-28 07:35:56 +00:00
rref_proxy.py
server_process_global_profiler.py Document poison fork note for accelerator APIs (#147507) 2025-04-10 02:37:37 +00:00