Closed
Description
Describe the issue:
When I run the notebook pymc_examples/case_studies/factor_analysis.ipynb
the ADVI calculation trace_vi = pm.fit(n=50000, method="fullrank_advi", obj_n_mc=1).sample()
(just before the "Results" section) is very slow on recent versions of PyMC. For versions 5.9.1 and later this step takes ~4 min, compared to ~1 min for 5.9.0.
Reproduceable code example:
Let me know if you want me to try to make a self-contained MRE, or if the notebook reference is enough.
PyMC version information:
conda create -y -n pymc_5.9.1 "pymc==5.9.1"
using Miniforge.