-
Notifications
You must be signed in to change notification settings - Fork 222
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
Passing RNG #870
Comments
In the future, which I know is not super helpful right now, the sample interface will handle the Turing.jl/src/interface/Interface.jl Line 216 in cb811e9
|
This should be easy to fix once your PR is ready. |
@trappmartin do you mean it's better for me to leave this issue aside in the current PR and resolve it later? |
Yeah, I think that's wise. |
#871 is merged. |
Can we close this? |
Closed by #793. |
Turing.jl now support passing RNG to
sample
as a keyword argument. Although, all the randome process in AdvancedHMC.jl are correctly controlled by the passed RNG, the initialization, from Turing.jl, is not: https://github.com/TuringLang/Turing.jl/blob/master/src/inference/hmc.jl#L267. What's the best way to pass RNG to this?The text was updated successfully, but these errors were encountered: