Skip to content

Is The First Execution Slow Always? #2383

Answered by jheek
Yuji-github asked this question in Q&A
Discussion options

You must be logged in to vote

Ops and compiled functions (annotated with jax.jit, jax.pmap, ...) are compiled the first time you call them. This is what normally causes the slowdown.

Replies: 1 comment

Comment options

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