4 Commits

Author SHA1 Message Date
Skye Wanderman-Milne
d5d43fc46e Don't write atime file if JAX_COMPILATIION_CACHE_MAX_SIZE == -1
The atime file is only needed to implement the LRU eviction policy,
which is only needed if a max persistence compilation cache size is
set. Writing this file can cause network filesystem performace and
other issues, so only write it if users are opted-in.
2025-02-14 12:01:55 -08:00
Ayaka
934142dff4 Storing the last access time of a cache entry in a separate file 2024-07-03 13:54:36 +04:00
Sergei Lebedev
69f437d29c Skip LRUCacheTest if filelock is not installed
PiperOrigin-RevId: 642709012
2024-06-12 13:01:36 -07:00
Ayaka
1a3a15c9e3 Implement LRU cache eviction for persistent compilation cache
Co-authored-by: Sergei Lebedev <slebedev@google.com>
2024-06-11 21:48:35 +04:00