-
Hi all, I'm quite new to Jax and am trying to find out how to correctly setup my small investigation regarding the runtime of my model.
In the main function it iterates over a range of graph size. In |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
That looks like a reasonable approach, though you may consider using the tools in the Also, see JAX FAQ: Benchmarking JAX code for more JAX-specific tips on getting accurate benchmarks. |
Beta Was this translation helpful? Give feedback.
That looks like a reasonable approach, though you may consider using the tools in the
timeit
module (or in IPython, the%timeit
magic command), either of which are better suited to getting accurate benchmarks than straight use oftime.time
.Also, see JAX FAQ: Benchmarking JAX code for more JAX-specific tips on getting accurate benchmarks.