np.dot is faster than jnp.dot in docs #8673
-
According to docs (https://jax.readthedocs.io/en/latest/notebooks/quickstart.html)
Takes
which is faster than
Am I missing something ??? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for the question. Agreed this is a bit confusing, but just before the timing you quote the docs say
The readthedocs documentation build uses a CPU, where, for simple microbenchmarks consisting of single array operations, numpy is generally faster. Perhaps we could add some language to the doc to clarify this. |
Beta Was this translation helpful? Give feedback.
Thanks for the question. Agreed this is a bit confusing, but just before the timing you quote the docs say
The readthedocs documentation build uses a CPU, where, for simple microbenchmarks consisting of single array operations, numpy is generally faster. Perhaps we could add some language to the doc to clarify this.