Skip to content

Is there any reason to use nested jit? #10104

Answered by hawkinsp
jatentaki asked this question in Q&A
Discussion options

You must be logged in to vote

Right now, nested jit calls will be preserved as function calls in the IR that JAX generates, but will be flattened by XLA. In the future, this may not be true any more! At some point, XLA (or another compiler) may inline less aggressively.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@jatentaki
Comment options

@hawkinsp
Comment options

@cyprienc
Comment options

Answer selected by jatentaki
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
4 participants