No, same issues. It runs with chains=1, but goes on forever with chains=4.
I forgot to mention I have M1 Silicon chip, just in case it means anything (seems to be an issue for Tensorflow, for example).
I tried to re-install alas to no better outcome, this is very frustrating. As I mentioned, the installation got me PyMC v5.20.1 as well as PyTensor ‘2.27.1’.
Reading around the forum I gathered it was worth trying to run as a script, and not in a Jupyter Notebook.
If I run it as a script, with the proper boilerplate
if __name__ == "__main__":
it runs!
Without the "if name == “main” stuff, the traceback complains about
###########/pymc_env_5/lib/python3.12/multiprocessing/spawn.py", line 140, in _check_not_importing_main
raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
ok I clearly do not know much about multiprocessing…
The question is then, is there a way to get this to work on a Jupyter Notebook? Thank you