File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -232,25 +232,4 @@ def step(y, dW):
232232
233233timer = Timer (stmt = "_ = homemade_simu().block_until_ready()" , globals = globals ())
234234total_time = timer .timeit (number = num_runs )
235- print (f"Pure Jax: { total_time / num_runs :.6f} " )
236-
237- """
238- Results on Mac M1 CPU:
239- VBT: 0.204524
240- Old UBP: 0.017464
241- New UBP + Precompute: 0.002440
242- Pure Jax: 0.002908
243-
244- Results on A100 GPU:
245- VBT: 2.275057
246- Old UBP: 0.112461
247- New UBP + Precompute: 0.111837
248- Pure Jax: 0.261937
249-
250- For small ndt (e.g. 100) the pure jax is faster, but the diffrax overhead
251- becomes less important as the time increases.
252-
253- GPU being much slower isn't unsurprising and is a common trend for
254- small-medium sized SDEs with VFs that are relatively cheap to evaluate
255- (i.e. not neural networks).
256- """
235+ print (f"Pure Jax: { total_time / num_runs :.6f} " )
You can’t perform that action at this time.
0 commit comments