Skip to content

Backport PR 4492 to v3 #4526

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

Merged
merged 1 commit into from
Mar 10, 2021
Merged

Conversation

michaelosthege
Copy link
Member

This is a backport of the #4492 PR.

The original fix was merged into master after the Aesara rename and this PR cherry-picks it onto the v3 branch.

FYI @ExpectationMax

It seems like broadcasting information gets lost when applying
`pm.make_shared_replacements`, leading to problems with the metropolis
sampler. Potentially related issues below:
 - pymc-devs#1083
 - pymc-devs#1304
 - pymc-devs#1983

This fix was previously suggested in the following issue:
 - pymc-devs#3337

It could be that further adaptations are necessary as indicated in the
issue. Strangely, this does not seem to lead to problems when using
NUTS.
@michaelosthege michaelosthege added this to the vNext (3.11.2) milestone Mar 10, 2021
@ricardoV94 ricardoV94 merged commit 03448f7 into pymc-devs:v3 Mar 10, 2021
@michaelosthege michaelosthege deleted the backport-pr-4492 branch March 10, 2021 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants