nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 12 lines 562 B view raw
1diff --git a/jax/experimental/compilation_cache/file_system_cache.py b/jax/experimental/compilation_cache/file_system_cache.py 2index b85969de..92acd523 100644 3--- a/jax/experimental/compilation_cache/file_system_cache.py 4+++ b/jax/experimental/compilation_cache/file_system_cache.py 5@@ -33,6 +33,7 @@ class FileSystemCache(CacheInterface): 6 path_to_key = os.path.join(self._path, key) 7 if os.path.exists(path_to_key): 8 with open(path_to_key, "rb") as file: 9+ os.utime(file.fileno()) 10 return file.read() 11 else: 12 return None