-
Notifications
You must be signed in to change notification settings - Fork 220
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
Add example illustrating how to run multiple chains. #698
Comments
I feel like we should instead just add a keyword argument (or something) to |
Ideally, we can share the same |
I'll document this behavior for the moment until we get something more permanent. |
I noticed that #582 was closed. Does this plan include running the chains in parallel? |
Currently this is not possible.
|
This will show up in the guide shortly. I'll be revisiting some of the tutorials soon after #695 goes through, and I'll add in this functionality to better show how to run multiple chains. |
Related issue: https://github.com/TuringLang/Turing.jl/issues/65 |
Why do
|
I'm not sure what you're asking, exactly. The second case is slightly more numerically accurate, since I believe there's some cases where random numbers are not independent when sampling from Distributions. Not sure if that's been fixed yet. |
@cpfiffer Thank you for your fast reply and explanation. I'm new to Julia and thought I'm making an error when working with the |
Yes, that's correct --- we're hoping soon to make it unnecessary to worry about |
Both functions are from Julia Base. |
Closed in favour of #746 |
We currently don't have an example that runs multiple chains. However, I think most examples should actually do this. Maybe we could change the tutorials in this respect?
Running multiple chains is currently possible using:
which will create a
Turing.Chains
object that contains samples for all chains.The text was updated successfully, but these errors were encountered: