numpyro icon indicating copy to clipboard operation
numpyro copied to clipboard

scan over discrete latent variables causes tracer leak

Open fehiepsi opened this issue 7 months ago • 2 comments

Bug Description

This is a part of the issues reported in https://github.com/pyro-ppl/numpyro/issues/1981. Running the following test will raise an error/xfail.

Steps to Reproduce

JAX_CHECK_TRACER_LEAKS=1 pytest -vs test/contrib/test_infer_discrete.py::test_scan_hmm_smoke

Expected Behavior

The test should pass.

fehiepsi avatar Mar 06 '25 21:03 fehiepsi