Skip to content
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

Update persistent compilation cache doc #22271

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

ayaka14732
Copy link
Member

This is a follow-up of the PR #21819.

Copy link
Member

@superbobry superbobry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I recommend asking Skye to do a pass as well.

Note: the cache does not have an eviction mechanism implemented. If the
cache-location is a directory in the local filesystem, its size will continue
to grow unless files are manually deleted.
(3) Using [`set_cache_dir()`](https://github.com/google/jax/blob/jax-v0.4.26/jax/experimental/compilation_cache/compilation_cache.py#L18)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OOC why do we have a Python function for setting the cache dir? Wouldn't (1) and (2) be sufficient?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am also wondering

docs/persistent_compilation_cache.md Outdated Show resolved Hide resolved
docs/persistent_compilation_cache.md Outdated Show resolved Hide resolved
docs/persistent_compilation_cache.md Outdated Show resolved Hide resolved
@google-ml-butler google-ml-butler bot added kokoro:force-run pull ready Ready for copybara import and testing labels Jul 5, 2024
@ayaka14732 ayaka14732 force-pushed the lru-cache-6 branch 2 times, most recently from 2ed1141 to a23b505 Compare July 5, 2024 10:27
@ayaka14732
Copy link
Member Author

LGTM, but I recommend asking Skye to do a pass as well.

I want to merge this first and request Syke to review a follow-up PR about LRU cache eviction.

@copybara-service copybara-service bot merged commit 0d4e0ec into google:main Jul 8, 2024
15 checks passed
@ayaka14732 ayaka14732 deleted the lru-cache-6 branch July 8, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants