You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have questions about a specific use case, or you are not sure whether this is a bug or not, please post it to our discourse channel: https://discourse.pymc.io
DEMetropolis sampling can't be parallelized due to kwarg checking in the sampling method
Additional kwargs are assumed to be used by the steppers. The parallelize kwargs however is not. It is used by the functions that initiate sampling.
Done with recent pip install, but the code on master still has the bug.
Solution
Add the parallelize kwarg explicitly to the signature of the sample method. But also discuss how it should be called to avoid confusion. (It only applies to the parallelization of population samplers.)
If you have questions about a specific use case, or you are not sure whether this is a bug or not, please post it to our discourse channel: https://discourse.pymc.io
DEMetropolis sampling can't be parallelized due to kwarg checking in the
sampling
methodAdditional
kwargs
are assumed to be used by the steppers. Theparallelize
kwargs however is not. It is used by the functions that initiate sampling.Versions
Done with recent pip install, but the code on master still has the bug.
Solution
Add the
parallelize
kwarg explicitly to the signature of thesample
method. But also discuss how it should be called to avoid confusion. (It only applies to the parallelization of population samplers.)Also, the test in https://github.com/pymc-devs/pymc3/blob/90093d9d2b6aa5c38424abd6097bd5bb0191d904/pymc3/tests/test_step.py#L918 should be duplicated to also test with parallelization enabled.
The text was updated successfully, but these errors were encountered: