Skip to content
Discussion options

You must be logged in to vote
  1. Is there a way to save JIT'ed functions so that they persist across REPL / Python sessions? Or do the JIT'ed functions disappear when you close the Python interpreter, similar to what happens in the Julia programming language?

There's an experimental persistent cache that works on TPU only today. See jax.experimental.compilation_cache. Documentation is still on the way.

  1. Are there any capabilities for ahead-of-time (AOT) compilation using JAX? Numba has some capabilities for this (see these docs), and I was wondering if JAX can do the same (or if it's planned for future development).

#7733 is in development, usable today but not yet officially stable. This effectively offers "AOT" …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jusevitch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants