Skip to content

Using a global config parameters and rejits #24423

Answered by jakevdp
ASKabalan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi - thanks for the question! The way that this works for configurations like enable_x64 is via this function:

jax/jax/_src/config.py

Lines 194 to 201 in f833891

def trace_context():
"""Returns a tuple of configuration values that affect tracing.
These values are included in the cache key for linear_util.cache.
Values included in this set should also most likely be included in
the C++ JIT state, which is handled separately.
"""

This is an internal utility, and unfortunately there is no public API for customizing the trace context.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ASKabalan
Comment options

@jakevdp
Comment options

Answer selected by ASKabalan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants