Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ayaka14732 committed Jun 19, 2024
1 parent 0f75875 commit f282493
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jax/_src/compilation_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ def count_cache_items() -> int:


def clear_cache() -> None:
_cache.clear()
if _cache is not None:
_cache.clear()


def default_min_cache_entry_size() -> int:
Expand Down

0 comments on commit f282493

Please sign in to comment.