Skip to content

Conversation

fehiepsi
Copy link
Member

@fehiepsi fehiepsi commented Mar 7, 2025

Fixes #1998

The current infer_discrete tests pass so I believe the change is equivalent.

@fehiepsi
Copy link
Member Author

fehiepsi commented Mar 7, 2025

The annotation example is failing after this. So I'll need to look into why.

@fehiepsi fehiepsi requested a review from ordabayevy March 10, 2025 20:11
@fehiepsi
Copy link
Member Author

fehiepsi commented Jun 3, 2025

@martinjankowiak @ordabayevy could you take a look at this? this resolves the tracer leak while still makes tests pass.

Copy link
Contributor

@juanitorduz juanitorduz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moral approval 🤗 (shall we make this part of the 0.16.0 milestone?)

@ordabayevy ordabayevy merged commit 09d9d74 into pyro-ppl:master Aug 28, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

scan over discrete latent variables causes tracer leak
3 participants