Skip to content

are pmap(f) and pmap(jit(f)) effectively the same? #5569

Answered by gnecula
matpalm asked this question in Q&A
Discussion options

You must be logged in to vote

Functionally, a jit inside a pmap will not have any effect. The only visible effect is that a jit will add a name scope around its computation so you may be able to better identify a computation in a profile. However, a clearer way to achieve that is with jax.named_call.

Replies: 1 comment

Comment options

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