Closed WardBrian closed 7 months ago
Name | Old Result | New Result | Ratio | Performance change( 1 - new / old ) |
---|---|---|---|---|
eight_schools/eight_schools.stan | 0.06 | 0.05 | 1.07 | 6.31% faster |
pkpd/one_comp_mm_elim_abs.stan | 18.14 | 18.65 | 0.97 | -2.8% slower |
pkpd/sim_one_comp_mm_elim_abs.stan | 0.25 | 0.26 | 0.97 | -3.27% slower |
arK/arK.stan | 1.61 | 1.7 | 0.95 | -5.01% slower |
gp_pois_regr/gp_pois_regr.stan | 2.5 | 2.62 | 0.95 | -4.9% slower |
gp_regr/gen_gp_data.stan | 0.02 | 0.02 | 0.93 | -7.16% slower |
gp_regr/gp_regr.stan | 0.11 | 0.11 | 0.98 | -2.29% slower |
low_dim_gauss_mix_collapse/low_dim_gauss_mix_collapse.stan | 9.15 | 9.5 | 0.96 | -3.88% slower |
low_dim_gauss_mix/low_dim_gauss_mix.stan | 2.8 | 2.94 | 0.95 | -5.13% slower |
low_dim_corr_gauss/low_dim_corr_gauss.stan | 0.01 | 0.01 | 1.02 | 1.68% faster |
garch/garch.stan | 0.46 | 0.49 | 0.93 | -7.46% slower |
arma/arma.stan | 0.19 | 0.21 | 0.92 | -8.69% slower |
irt_2pl/irt_2pl.stan | 3.83 | 4.02 | 0.95 | -4.74% slower |
sir/sir.stan | 77.55 | 79.33 | 0.98 | -2.3% slower |
performance.compilation | 181.49 | 194.89 | 0.93 | -7.39% slower |
Mean result: 0.9646677760192356
Jenkins Console Log Blue Ocean Commit hash: fb02dc7240781e4fe7ea4bc1fb4e06e70079765a
Submission Checklist
./runTests.py src/test/unit
make cpplint
Summary
Closes #3268. Now when the number of draws requested is smaller than the number of draws the ELBO calculations do internally, they are truncated to the expected size rather than all returned.
I also fixed up #3278
Intended Effect
How to Verify
I have a test in another project, I wasn't sure if we wanted to adapt one for here or not.
Side Effects
Documentation
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Simons Foundation
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: