Skip to content
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

Use functional interface funsor.adjoint.adjoint to avoid tracer leak #2002

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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
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
1 participant