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

Tracking leaked tracers. #1981

Open
tillahoffmann opened this issue Feb 19, 2025 · 1 comment
Open

Tracking leaked tracers. #1981

tillahoffmann opened this issue Feb 19, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@tillahoffmann
Copy link
Contributor

Following #1976, I ran the test suite with tracer leak checks enabled which raised just under two hundred exceptions (results below). Many of these are likely leaking in the test code itself as opposed to in the package code. I thought I'd share as it might point to bugs. Some of the exceptions show up as IndexError because of jax-ml/jax#26560.

Details

FAILED test/contrib/einstein/test_steinvi.py::test_run_smoke[ASVGD-uniform_normal-kernel0] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/einstein/test_steinvi.py::test_run_smoke[ASVGD-uniform_normal-kernel1] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/einstein/test_steinvi.py::test_run_smoke[ASVGD-uniform_normal-kernel2] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/einstein/test_steinvi.py::test_run_smoke[ASVGD-uniform_normal-kernel3] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/einstein/test_steinvi.py::test_run_smoke[ASVGD-uniform_normal-kernel4] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/einstein/test_steinvi.py::test_run_smoke[ASVGD-regression-kernel0] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/einstein/test_steinvi.py::test_run_smoke[ASVGD-regression-kernel1] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/einstein/test_steinvi.py::test_run_smoke[ASVGD-regression-kernel2] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/einstein/test_steinvi.py::test_run_smoke[ASVGD-regression-kernel3] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/einstein/test_steinvi.py::test_run_smoke[ASVGD-regression-kernel4] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/stochastic_support/test_sdvi.py::test_elbos[1-TraceEnum_ELBO] - Exception: Leaked trace MainTrace(4,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/stochastic_support/test_sdvi.py::test_elbos[4-TraceEnum_ELBO] - Exception: Leaked trace MainTrace(5,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_plate_plate[2-2] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_1[1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_1[10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_2[1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_2[10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_3[1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_3[10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_1[batch-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_1[batch-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_1[masked-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_1[masked-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_2[batch-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_2[batch-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_2[masked-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_2[masked-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_3[batch-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_3[batch-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_3[masked-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_3[masked-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_4[False-True-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_4[False-True-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_4[True-False-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_4[True-False-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_4[True-True-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_4[True-True-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_5 - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_6[parallel] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_6[sequential] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_7[1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_7[10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_1[1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_1[10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_2[1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_2[10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_3[1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_3[10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_4[1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_4[10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_5[1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_5[10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_6[1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_6[10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_7[1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_7[10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_8[False-False-1-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_8[False-True-1-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_8[True-False-1-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plates_8[True-True-1-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_9 - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_10 - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_11 - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_12 - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_elbo_enumerate_plate_13 - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_model_enum_subsample_1[1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_model_enum_subsample_1[10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_model_enum_subsample_2[1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_model_enum_subsample_2[10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_model_enum_subsample_3[1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_model_enum_subsample_3[10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_enum_elbo.py::test_guide_plate_contraction - Exception: Leaked trace MainTrace(4,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_esc_proxies.py::test_haiku_compatiable - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_infer_discrete.py::test_scan_hmm_smoke[0-2] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/contrib/test_infer_discrete.py::test_scan_hmm_smoke[1-2] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_autoguide.py::test_autosldais - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_gradient[model_0-guide_0-params0-data0] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_gradient[model_1-guide_1-params1-data1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_gradient[model_2-guide_2-params2-data2] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_1[kl_model_0_z1z2z3-kl_sites0-True] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_1[kl_model_1_z1z2z3-kl_sites1-True] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_1[kl_model_2_z2z3-kl_sites2-False] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_1[kl_model_2_z2z3-kl_sites3-True] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_1[kl_model_3_z2z3-kl_sites4-False] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_1[kl_model_3_z2z3-kl_sites5-True] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_1[kl_model_4_z3-kl_sites6-False] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_1[kl_model_4_z3-kl_sites7-True] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_1[kl_model_5_z2-kl_sites8-False] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_1[kl_model_5_z2-kl_sites9-True] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_1[kl_model_6_-kl_sites10-False] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_1[kl_model_6_-kl_sites11-True] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_1[kl_model_7_z3-kl_sites12-False] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_1[kl_model_7_z3-kl_sites13-True] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_2 - Exception: Leaked trace MainTrace(4,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_3 - Exception: Leaked trace MainTrace(4,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[2-2-1-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[2-2-1-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[2-2-10-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[2-2-10-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[2-3-1-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[2-3-1-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[2-3-10-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[2-3-10-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[3-2-1-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[3-2-1-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[3-2-10-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[3-2-10-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[3-3-1-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[3-3-1-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[3-3-10-1] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_gradient.py::test_analytic_kl_4[3-3-10-10] - Exception: Leaked trace MainTrace(3,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_linear_model_log_sigma[HMC] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_linear_model_log_sigma[NUTS] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_linear_model_sigma[HMC] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_linear_model_sigma[NUTS] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_gaussian_model[HMC] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_gaussian_model[NUTS] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_multiple_sites_chain[1-MixedHMC-HMC-kwargs0] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_multiple_sites_chain[1-DiscreteHMCGibbs-NUTS-kwargs1] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_multiple_sites_chain[2-MixedHMC-HMC-kwargs0] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_multiple_sites_chain[2-DiscreteHMCGibbs-NUTS-kwargs1] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_enum[MixedHMC-HMC-kwargs0] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_enum[DiscreteHMCGibbs-NUTS-kwargs1] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_bernoulli[MixedHMC-HMC-kwargs0-False] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_bernoulli[MixedHMC-HMC-kwargs0-True] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_bernoulli[DiscreteHMCGibbs-NUTS-kwargs1-False] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_bernoulli[DiscreteHMCGibbs-NUTS-kwargs1-True] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_bernoulli[DiscreteHMCGibbs-NUTS-kwargs2-False] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_bernoulli[DiscreteHMCGibbs-NUTS-kwargs2-True] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_improper_uniform - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_gmm_1d[MixedHMC-HMC-kwargs0-False] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_gmm_1d[MixedHMC-HMC-kwargs0-True] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_gmm_1d[DiscreteHMCGibbs-NUTS-kwargs1-False] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_discrete_gibbs_gmm_1d[DiscreteHMCGibbs-NUTS-kwargs1-True] - IndexError: list index out of range
FAILED test/infer/test_hmc_gibbs.py::test_enum_subsample_smoke - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[1-50-1-HMC] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[1-50-1-NUTS] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[1-50-2-HMC] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[1-50-2-NUTS] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[1-50-50-HMC] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[1-50-50-NUTS] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[1-150-1-HMC] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[1-150-1-NUTS] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[1-150-2-HMC] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[1-150-2-NUTS] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[1-150-50-HMC] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[1-150-50-NUTS] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[2-50-1-HMC] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[2-50-1-NUTS] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[2-50-2-HMC] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[2-50-2-NUTS] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[2-50-50-HMC] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[2-50-50-NUTS] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[2-150-1-HMC] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[2-150-1-NUTS] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[2-150-2-HMC] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[2-150-2-NUTS] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[2-150-50-HMC] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_normal_normal[2-150-50-NUTS] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_estimate_likelihood[HMC] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_estimate_likelihood[NUTS] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_hmcecs_multiple_plates - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_hmc_gibbs.py::test_callable_chain_method - IndexError: list index out of range
FAILED test/infer/test_mcmc.py::test_chain_inside_jit[sequential-HMC] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_mcmc.py::test_chain_inside_jit[sequential-NUTS] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_mcmc.py::test_chain_inside_jit[vectorized-HMC] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_mcmc.py::test_chain_inside_jit[vectorized-NUTS] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_mcmc.py::test_chain_jit_args_smoke[True-sequential] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_mcmc.py::test_chain_jit_args_smoke[True-vectorized] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_mcmc.py::test_reuse_mcmc_run[50-True] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_mcmc.py::test_reuse_mcmc_run[100-True] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_mcmc.py::test_model_with_multiple_exec_paths[True] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/infer/test_svi.py::test_mutable_state[Trace_ELBO-1-True] - Exception: Leaked trace MainTrace(3,JVPTrace). Leaked tracer(s):
FAILED test/infer/test_svi.py::test_mutable_state[Trace_ELBO-1-False] - Exception: Leaked trace MainTrace(3,JVPTrace). Leaked tracer(s):
FAILED test/infer/test_svi.py::test_mutable_state[Trace_ELBO-10-True] - Exception: Leaked trace MainTrace(3,JVPTrace). Leaked tracer(s):
FAILED test/infer/test_svi.py::test_mutable_state[Trace_ELBO-10-False] - Exception: Leaked trace MainTrace(3,JVPTrace). Leaked tracer(s):
FAILED test/infer/test_svi.py::test_mutable_state[TraceMeanField_ELBO-1-True] - Exception: Leaked trace MainTrace(3,JVPTrace). Leaked tracer(s):
FAILED test/infer/test_svi.py::test_mutable_state[TraceMeanField_ELBO-1-False] - Exception: Leaked trace MainTrace(3,JVPTrace). Leaked tracer(s):
FAILED test/infer/test_svi.py::test_mutable_state[TraceMeanField_ELBO-10-True] - Exception: Leaked trace MainTrace(3,JVPTrace). Leaked tracer(s):
FAILED test/infer/test_svi.py::test_mutable_state[TraceMeanField_ELBO-10-False] - Exception: Leaked trace MainTrace(3,JVPTrace). Leaked tracer(s):
FAILED test/test_distributions.py::test_mean_var[Gompertz-None-params35] - Exception: Leaked trace MainTrace(4,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/test_distributions.py::test_mean_var[Gompertz-None-params36] - Exception: Leaked trace MainTrace(5,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/test_handlers.py::test_plate[model_nested_plates_0] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/test_handlers.py::test_plate[model_nested_plates_1] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/test_handlers.py::test_plate[model_nested_plates_2] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/test_handlers.py::test_plate[model_nested_plates_3] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/test_handlers.py::test_plate[model_dist_batch_shape] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/test_handlers.py::test_plate[model_subsample_1] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/test_handlers.py::test_plate[model_subsample_2] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/test_pickle.py::test_pickle_discrete_hmc[DiscreteHMCGibbs] - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/test_pickle.py::test_pickle_discrete_hmc[MixedHMC] - Exception: Leaked trace MainTrace(2,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/test_pickle.py::test_pickle_hmcecs - Exception: Leaked trace MainTrace(1,DynamicJaxprTrace). Leaked tracer(s):
FAILED test/test_pickle.py::test_beta_bernoulli - Exception: Leaked trace MainTrace(4,DynamicJaxprTrace). Leaked tracer(s):

@tillahoffmann tillahoffmann added the bug Something isn't working label Feb 19, 2025
@fehiepsi
Copy link
Member

fehiepsi commented Feb 19, 2025

After #1982 and #1983, the remaining failing tests are

  • test/contrib/test_esc_proxies.py::test_haiku_compatiable
  • test/contrib/test_infer_discrete.py::test_scan_hmm_smoke
  • test/infer/test_autoguide.py::test_autosldais
  • test/infer/test_gradient.py::test_gradient
  • test/infer/test_gradient.py::test_analytic_kl
  • test/infer/test_hmc_gibbs.py::test_linear_model_log_sigma[HMC]
  • test/infer/test_mcmc.py::test_chain_inside_jit[sequential-HMC]
  • test/infer/test_mcmc.py::test_chain_jit_args_smoke[True-sequential]
  • test/infer/test_mcmc.py::test_reuse_mcmc_run[50-True]
  • test/infer/test_mcmc.py::test_model_with_multiple_exec_paths[True]
  • test/infer/test_svi.py::test_mutable_state[Trace_ELBO-1-True]
  • test/test_distributions.py::test_mean_var[Gompertz-None-params35]
  • test/test_pickle.py::test_pickle_discrete_hmc[DiscreteHMCGibbs]
  • test/test_pickle.py::test_pickle_hmcecs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants