pymc icon indicating copy to clipboard operation
pymc copied to clipboard

pymc just dies with no error message

Open beew opened this issue 2 years ago • 4 comments

Describe the issue:

Working through some examples and done some tests. In some cases pymc just stops without any error message.

Reproduceable code example:

for examples running the example notebooks/pymc/examples/variational_inference/GLM-hierarchical-advi-minibatch.ipynb from https://github.com/pymc-devs/pymc-examples

The last step just ends without any error. There is a * on the jupyter notbook but top shows that python is not running


Multiprocess sampling (4 chains in 4 jobs)
NUTS: [mu_alpha, sigma_alpha, mu_beta, sigma_beta, alpha, beta, eps]

 0.00% [0/12000 00:00<? Sampling 4 chains, 0 divergences] 

Another example is from the testsuite

running

pytest -v tests/smc

The process just die at

test_smc.py::TestMHKernel::test_normal_model 

No hanging, no error messages.

PyMC version information:

Ubuntu 22.04, python 3.10.9, pymc 5.8.2.

beew avatar Nov 29 '23 06:11 beew

Welcome Banner :tada: Welcome to PyMC! :tada: We're really excited to have your input into the project! :sparkling_heart:
If you haven't done so already, please make sure you check out our Contributing Guidelines and Code of Conduct.

welcome[bot] avatar Nov 29 '23 06:11 welcome[bot]

Sampling with a single chain can help seeing the errors some times.

ricardoV94 avatar Nov 29 '23 06:11 ricardoV94

Did you install using conda/mamba?

twiecki avatar Nov 29 '23 14:11 twiecki

Did you install using conda/mamba?

Installed with pip

beew avatar Nov 29 '23 17:11 beew