Skip to content

Commit

Permalink
Disable JAX's compilation cache since Pathways manages it's own compi…
Browse files Browse the repository at this point in the history
…lation cache.

PiperOrigin-RevId: 694159092
  • Loading branch information
lukebaumann authored and copybara-github committed Nov 12, 2024
1 parent ea39d05 commit c177811
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pathwaysutils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ def _is_persistence_enabled():
pathways_orbax_handler.register_pathways_handlers(
datetime.timedelta(minutes=10)
)

# Turn off JAX compilation cache because Pathways handles its own compilation
# cache.
jax.config.update("jax_enable_compilation_cache", False)

try:
cloud_logging.setup()
except OSError as e:
Expand Down

0 comments on commit c177811

Please sign in to comment.