Hi all,
I am having trouble getting the sampling traces to be reproducible on different machines. While running the same code multiple times on the same machine gives identical results, running the code on a different machine gives different results. They are very close, but not identical.
They have the same versions of pymc3 (3.6), theano (1.0.4), numpy (1.16.0), and scipy (1.2.0), although have different versions of Python (3.7.2 and 3.6.7). They are both on linux (current Arch, ubuntu 18.04). They do have different compilers installed, but both have empty theano configs.
For testing, I have been running sample
as pm.sample(1000, nuts_kwargs={"Emax":700}, cores=4, chains=4, random_seed=[1, 2, 3, 4])
.
Could I please check that I can indeed expect the traces to be identical in this scenario? I.e. is having the same model, the same random_seed
value, and the same pm.sample
parameters sufficient?
Thanks for any help or advice.