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

Fix cache init when JAX Array is created early (#25768) #25889

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Stella-S-Yan
Copy link
Collaborator

Ensure the cache is reset whenever a new path is configured, addressing bug #25768. This improves reliability in environments where JAX Arrays are created before cache initialization.

tests/compilation_cache_test.py Outdated Show resolved Hide resolved
jax/_src/config.py Outdated Show resolved Hide resolved
@Stella-S-Yan Stella-S-Yan force-pushed the cache_reset branch 2 times, most recently from 6aef390 to 46d542f Compare January 16, 2025 09:27
tests/compilation_cache_test.py Outdated Show resolved Hide resolved
tests/compilation_cache_test.py Outdated Show resolved Hide resolved
tests/compilation_cache_test.py Outdated Show resolved Hide resolved
jax/_src/compilation_cache.py Outdated Show resolved Hide resolved
@Stella-S-Yan Stella-S-Yan force-pushed the cache_reset branch 2 times, most recently from 31bf940 to 3dc8dac Compare January 21, 2025 16:34
tests/compilation_cache_test.py Outdated Show resolved Hide resolved
tests/compilation_cache_test.py 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 Jan 21, 2025
tests/compilation_cache_test.py Outdated Show resolved Hide resolved
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