Skip to content

Conversation

BenZickel
Copy link
Contributor

@BenZickel BenZickel commented Jul 23, 2024

Problem

After using the pyro.poutine.equalize effect handler model rendering with pyro.render_model does not work due to no base_dist attribute in Delta sampled sites.

Solution

Add masking so that the sampling function has the base_dist attribute as expected by pyro.render_model for Delta sampled sites.

@BenZickel
Copy link
Contributor Author

Also added a fix for this lint failure due to a mypy update.

@fritzo fritzo merged commit e3091e3 into pyro-ppl:dev Jul 23, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants