Skip to content
Snippets Groups Projects
Commit fef914d0 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Merge branch 'speed-up-sampler-tests' into 'master'

Reduce time required for the sampler tests

See merge request !949
parents e55e4024 fae7de84
No related branches found
No related tags found
1 merge request!949Reduce time required for the sampler tests
Pipeline #216549 passed
......@@ -115,7 +115,6 @@ python-3.7-samplers:
- python -m pip install .
- pytest test/integration/sampler_run_test.py --durations 10
- pytest test/integration/sample_from_the_prior_test.py
# test samplers on python 3.6
python-3.6-samplers:
......
......@@ -90,10 +90,11 @@ class Test(unittest.TestCase):
likelihood=likelihood,
priors=priors,
sampler="dynesty",
npoints=1000,
walks=100,
nlive=1000,
nact=10,
outdir=self.outdir,
label=label,
save=False
)
pvalues = [
ks_2samp_wrapper(
......
......@@ -48,7 +48,12 @@ class TestRunningSamplers(unittest.TestCase):
likelihood=self.likelihood,
priors=self.priors,
sampler="dnest4",
nlive=100,
max_num_levels=2,
num_steps=10,
new_level_interval=10,
num_per_step=10,
thread_steps=1,
num_particles=50,
save=False,
)
......@@ -147,7 +152,7 @@ class TestRunningSamplers(unittest.TestCase):
sampler="pymc3",
draws=50,
tune=50,
n_init=1000,
n_init=250,
save=False,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment