Skip to content

Instantly share code, notes, and snippets.

@SteveBronder
Created April 21, 2020 01:12
Show Gist options
  • Select an option

  • Save SteveBronder/464dfdb3d12aedbef27dd941dfdb9a1b to your computer and use it in GitHub Desktop.

Select an option

Save SteveBronder/464dfdb3d12aedbef27dd941dfdb9a1b to your computer and use it in GitHub Desktop.
---
high_dim_gauss
---
[turing]
Benchmark results
Compilation time: 3.0011221113333337 (approximately)
Running time: 2.4342513616666666 +/- 0.14597526149472717 (3 runs)
Forward time: 0.000411603
Gradient time (forwarddiff): 0.526029922
Gradient time (reversediff): 0.00010086
Gradient time (zygote): 0.000881466
Gradient time (tracker): 0.000162536
[stan]
Gradient evaluation took 0.000104 seconds
1000 transitions using 10 leapfrog steps per transition would take 1.04 seconds.
Adjust your expectations accordingly!
Iteration: 1 / 100 [ 1%] (Sampling)
Iteration: 10 / 100 [ 10%] (Sampling)
Iteration: 20 / 100 [ 20%] (Sampling)
Iteration: 30 / 100 [ 30%] (Sampling)
Iteration: 40 / 100 [ 40%] (Sampling)
Iteration: 50 / 100 [ 50%] (Sampling)
Iteration: 60 / 100 [ 60%] (Sampling)
Iteration: 70 / 100 [ 70%] (Sampling)
Iteration: 80 / 100 [ 80%] (Sampling)
Iteration: 90 / 100 [ 90%] (Sampling)
Iteration: 100 / 100 [100%] (Sampling)
Elapsed Time: 1e-06 seconds (Warm-up)
0.188051 seconds (Sampling)
0.188052 seconds (Total)
Gradient evaluation took 0.000146 seconds
1000 transitions using 10 leapfrog steps per transition would take 1.46 seconds.
Adjust your expectations accordingly!
Iteration: 1 / 2000 [ 0%] (Sampling)
Iteration: 200 / 2000 [ 10%] (Sampling)
Iteration: 400 / 2000 [ 20%] (Sampling)
Iteration: 600 / 2000 [ 30%] (Sampling)
Iteration: 800 / 2000 [ 40%] (Sampling)
Iteration: 1000 / 2000 [ 50%] (Sampling)
Iteration: 1200 / 2000 [ 60%] (Sampling)
Iteration: 1400 / 2000 [ 70%] (Sampling)
Iteration: 1600 / 2000 [ 80%] (Sampling)
Iteration: 1800 / 2000 [ 90%] (Sampling)
Iteration: 2000 / 2000 [100%] (Sampling)
Elapsed Time: 0 seconds (Warm-up)
3.71112 seconds (Sampling)
3.71112 seconds (Total)
Gradient evaluation took 8.7e-05 seconds
1000 transitions using 10 leapfrog steps per transition would take 0.87 seconds.
Adjust your expectations accordingly!
Iteration: 1 / 2000 [ 0%] (Sampling)
Iteration: 200 / 2000 [ 10%] (Sampling)
Iteration: 400 / 2000 [ 20%] (Sampling)
Iteration: 600 / 2000 [ 30%] (Sampling)
Iteration: 800 / 2000 [ 40%] (Sampling)
Iteration: 1000 / 2000 [ 50%] (Sampling)
Iteration: 1200 / 2000 [ 60%] (Sampling)
Iteration: 1400 / 2000 [ 70%] (Sampling)
Iteration: 1600 / 2000 [ 80%] (Sampling)
Iteration: 1800 / 2000 [ 90%] (Sampling)
Iteration: 2000 / 2000 [100%] (Sampling)
Elapsed Time: 1e-06 seconds (Warm-up)
3.72003 seconds (Sampling)
3.72004 seconds (Total)
Gradient evaluation took 8.9e-05 seconds
1000 transitions using 10 leapfrog steps per transition would take 0.89 seconds.
Adjust your expectations accordingly!
Iteration: 1 / 2000 [ 0%] (Sampling)
Iteration: 200 / 2000 [ 10%] (Sampling)
Iteration: 400 / 2000 [ 20%] (Sampling)
Iteration: 600 / 2000 [ 30%] (Sampling)
Iteration: 800 / 2000 [ 40%] (Sampling)
Iteration: 1000 / 2000 [ 50%] (Sampling)
Iteration: 1200 / 2000 [ 60%] (Sampling)
Iteration: 1400 / 2000 [ 70%] (Sampling)
Iteration: 1600 / 2000 [ 80%] (Sampling)
Iteration: 1800 / 2000 [ 90%] (Sampling)
Iteration: 2000 / 2000 [100%] (Sampling)
Elapsed Time: 0 seconds (Warm-up)
3.70556 seconds (Sampling)
3.70556 seconds (Total)
Benchmark results
Running time: 3.9013888163333337 +/- 0.014761526655890384 (3 runs)
Forward time: 0.000705445
Gradient time: 0.001146834
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment