-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Metropolis chain tuning is differs between single- and multiprocessing #3733
Labels
Comments
Wow, this is interesting.
|
Over in #3784 I fixed it for the |
I think it is better sending a separate PR. |
michaelosthege
added a commit
to michaelosthege/pymc
that referenced
this issue
Feb 5, 2020
3 tasks
michaelosthege
added a commit
to michaelosthege/pymc
that referenced
this issue
Feb 5, 2020
michaelosthege
added a commit
to michaelosthege/pymc
that referenced
this issue
Feb 6, 2020
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(split from #3731)
Observations
When
Metropolis
is used withcores > 1 and chains > 1
, all chains are independently tuned.With
cores=1
however,Metropolis
initializes the 2nd chain with thescaling
from the first. It is still tuned, but in the end it's a different between sequential single-process and parallelized multiprocess sampling.Cause
For
Metropolis
, the stepper is re-used and re-tuned, but no reset happens.https://github.com/pymc-devs/pymc3/blob/dc9fd7251b34e9851308e91d622513ebe648f49e/pymc3/sampling.py#L711-L716
Possible Solutions
The text was updated successfully, but these errors were encountered: