Skip to content

Jax grad is slow compared to autograd elementwise_grad in my case #22050

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

You must be logged in to vote

Yes, this seems consistent with the discussion at the link in my first response above. These microbenchmarks are in a regime where it’s not surprising that autograd is faster than JAX: i.e. individually dispatched small array operations on CPU.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jakevdp
Comment options

Comment options

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

Answer selected by krysros
@krysros
Comment options

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