rocm_jax/docs/jax.experimental.compilation_cache.rst
jax authors b8b119d9b9 Cleanup deprecated compilation cache APIs.
Since the compilation cache is now initialized lazily,
existing APIs initialize_cache() and is_initialized()
are confusing. Deprecate these APIs.

Introduce a new API set_cache_dir() to explicitly set the
cache directory path in code.

Testing: revised unit tests, test workload.
PiperOrigin-RevId: 598073423
2024-01-12 22:44:48 -08:00

15 lines
333 B
ReStructuredText

``jax.experimental.compilation_cache`` module
===============================================
JAX disk compilation cache.
.. automodule:: jax.experimental.compilation_cache.compilation_cache
API
---
.. autofunction:: is_initialized
.. autofunction:: initialize_cache
.. autofunction:: set_cache_dir
.. autofunction:: reset_cache