Skip to content

Fix tracer leak in hmc#1985

Merged
fehiepsi merged 4 commits intopyro-ppl:masterfrom
fehiepsi:stateless_seed
Mar 6, 2025
Merged

Fix tracer leak in hmc#1985
fehiepsi merged 4 commits intopyro-ppl:masterfrom
fehiepsi:stateless_seed

Conversation

@fehiepsi
Copy link
Copy Markdown
Member

@fehiepsi fehiepsi commented Feb 20, 2025

When we run hmc_next / nuts_next, we don't want to update vv_update.

The following tests pass after the fix:

  • JAX_CHECK_TRACER_LEAKS=1 pytest -vs test/infer/test_hmc_gibbs.py
  • JAX_CHECK_TRACER_LEAKS=1 pytest -vs test/contrib/test_esc_proxies.py
  • JAX_CHECK_TRACER_LEAKS=1 pytest -vs test/test_pickle.py

@fehiepsi fehiepsi merged commit cc871ed into pyro-ppl:master Mar 6, 2025
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.

2 participants