-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up old GFileCache
implementation
#22253
Conversation
6dddbd5
to
3f823c0
Compare
Manually tested on GPU VM and it works. |
904e197
to
080cda0
Compare
2eaaf46
to
7960933
Compare
@@ -19,8 +19,10 @@ | |||
|
|||
try: | |||
import etils.epath as epath | |||
epath_installed = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you could use epath is not None
instead of epath_installed
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think having a epath_installed
is clearer, because it is imported in another file and is used multiple times.
28c1e41
to
c291eab
Compare
This PR is a follow-up of #21926. It is part of the efforts to add LRU cache eviction policy for the JAX persistent compilation cache.
Since we now have the new
LRUChache
class, which supports both local filesystem and GCS, the oldGFileCache
class can be removed.