Skip to content
Discussion options

You must be logged in to vote

Thanks for the question!

You can use the jax_log_compiles option. You can set it in any of these ways:

  1. Use the context manager with jax.log_compiles(True): ...
  2. Use the config option with jax.config.update('jax_log_compiles', True)
  3. Use a shell environment variable JAX_LOG_COMPILES=1 (or any truthy value)
  4. Use absl together with the absl command-line flag --jax_log_compiles=1

We'd like to improve the tooling around this further, in particular to provide some explanation as to why a function is getting recompiled. At the moment the information is pretty minimal.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by qsh-zh
Comment options

You must be logged in to vote
0 replies
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