pytorch/torch/_logging
Xuehai Pan 45411d1fc9 Use absolute path path.resolve() -> path.absolute() (#129409)
Changes:

1. Always explicit `.absolute()`: `Path(__file__)` -> `Path(__file__).absolute()`
2. Replace `path.resolve()` with `path.absolute()` if the code is resolving the PyTorch repo root directory.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/129409
Approved by: https://github.com/albanD
2025-01-03 20:03:40 +00:00
..
__init__.py [draft-export] Include guards for constraint violation errors (#138748) 2024-10-30 00:24:17 +00:00
_internal.py Use absolute path path.resolve() -> path.absolute() (#129409) 2025-01-03 20:03:40 +00:00
_registrations.py Add "inductor_pre_grad_graph" logging (#142717) (#143126) 2024-12-13 21:48:25 +00:00
scribe.py [EZ] Remove remaining amz2023 runner variant references (#136540) 2024-09-25 19:01:00 +00:00
structured.py [BE]: Apply PERF401 autofixes from ruff (#140980) 2024-11-20 17:52:07 +00:00