mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
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 |
||
|---|---|---|
| .. | ||
| _testing | ||
| __init__.py | ||
| _utils.py | ||
| api.py | ||
| backend_registry.py | ||
| constants.py | ||
| functions.py | ||
| internal.py | ||
| options.py | ||
| rref_proxy.py | ||
| server_process_global_profiler.py | ||