From 83e29a7c060f43379976b4eca58a6d6b47c0de89 Mon Sep 17 00:00:00 2001 From: Mattia Di Gangi Date: Thu, 27 Oct 2022 23:11:43 +0200 Subject: [PATCH] Seed pm.sample in BaseSampler to make all tests in the group deterministic --- pymc/tests/sampler_fixtures.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pymc/tests/sampler_fixtures.py b/pymc/tests/sampler_fixtures.py index 6bd085a59..dabb3466e 100644 --- a/pymc/tests/sampler_fixtures.py +++ b/pymc/tests/sampler_fixtures.py @@ -149,6 +149,7 @@ def setup_class(cls): cores=cls.chains, return_inferencedata=False, compute_convergence_checks=False, + random_seed=cls.random_seed, ) cls.samples = {} for var in cls.model.unobserved_RVs: