pytorch/torch/_logging
Aaron Orenstein 9fc721d22b Add cache logs + other minor caching cleanup (#136456)
Summary:
- Added TORCH_LOGS=cache to dump cache stats on exit - supported by RemoteCache.
- Split REMOTE_CACHE_VERSION - it was used for both JKs fx_graph_memcache_version and autotune_memcache_version but they really should be separate (just in case we need to change one but not the other)
- Prepare `_ManifoldCache` for use with other subpath keys
- Move create_cache to be more public and use it in codecache
- Add _InductorMetaTy alias (still just a dict)
- Cleaned up some common cached_autotune calls in triton_heuristics

Test Plan: unit tests

Reviewed By: oulgen

Differential Revision: D62648249

Pull Request resolved: https://github.com/pytorch/pytorch/pull/136456
Approved by: https://github.com/oulgen
2024-09-24 14:00:23 +00:00
..
__init__.py Log structured logging overhead to dynamo compile (kinda) (#136142) 2024-09-19 16:11:38 +00:00
_internal.py Log structured logging overhead to dynamo compile (kinda) (#136142) 2024-09-19 16:11:38 +00:00
_registrations.py Add cache logs + other minor caching cleanup (#136456) 2024-09-24 14:00:23 +00:00
scribe.py Existing mypy issues (#136236) 2024-09-24 01:02:07 +00:00
structured.py Dump files that look like FX graphs to structured log (#132100) 2024-07-31 18:45:28 +00:00