Skip to content

eliminate window_adaptation overhead? #728

Answered by junpenglao
ismael-mendoza asked this question in Q&A
Discussion options

You must be logged in to vote

This is a property of JAX, where in the first run it is compiled+run. That's why the second time you run it, it is faster as it is already compiled.

Also, while we did not explicitly jit the warmup.run, we use JAX scan() that "compiles f, so while it can be combined with jit(), it’s usually unnecessary."

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ismael-mendoza
Comment options

Answer selected by junpenglao
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