Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step size initialization uses GLOBAL RNG instead of reproducible RNG from caller #306

Open
getzdan opened this issue Dec 23, 2022 · 0 comments

Comments

@getzdan
Copy link

getzdan commented Dec 23, 2022

return find_good_stepsize(GLOBAL_RNG, h, θ; max_n_iters=max_n_iters)

This caused an actual reproducibility problem, see Discourse thread:
https://discourse.julialang.org/t/stablerng-in-turing-is-not-producing-reproducible-output/92032

To get RNG from caller, it might need to be perculated down from callers, with a few other changes needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant