with pm.observe(m_hierarchical, {"something": data}):
idata_h = pm.sample(
target_accept=0.95,
)
After sampling finishes it comes up alright:
with pm.observe(m_hierarchical, {"something": data}):
idata_h = pm.sample(
target_accept=0.95,
)
After sampling finishes it comes up alright:
Was working with this yesterday, and it works fine for me. Progress bar looks like this both during and after sampling.
Hmm, any idea how to debug? I started a new notebook - no dice, the progress bar comes up only after sampling is finished. Also if i interrupt it, it briefly comes up and then disappears. marimo==0.23.6
Can you try some variants? cores=1 (so no multiprocessing) and nuts_sampler=“pymc” vs “nutpie”?
pymc sampler works both single and multithreaded, nutpie does not work both single and multithreaded.
What are your environment details?
{
"marimo": "0.23.6",
"editable": false,
"location": "<...>/.venv/lib/python3.12/site-packages/marimo",
"OS": "Darwin",
"OS Version": "24.6.0",
"Processor": "arm",
"Python Version": "3.12.11",
"Locale": "C/en_US",
"Binaries": {
"Browser": "147.0.7727.138",
"Node": "v24.3.0",
"uv": "0.7.11 (Homebrew 2025-06-04)"
},
"Dependencies": {
"click": "8.3.3",
"docutils": "0.22.4",
"itsdangerous": "2.2.0",
"jedi": "0.19.2",
"markdown": "3.10.2",
"narwhals": "2.20.0",
"packaging": "26.2",
"psutil": "7.2.2",
"pygments": "2.20.0",
"pymdown-extensions": "10.21.2",
"pyyaml": "6.0.3",
"starlette": "1.0.0",
"tomlkit": "0.14.0",
"typing-extensions": "4.15.0",
"uvicorn": "0.46.0",
"websockets": "16.0"
},
"Optional Dependencies": {
"loro": "1.10.3",
"pandas": "2.3.3",
"pyarrow": "24.0.0",
"pytest": "9.0.2",
"ruff": "0.15.12"
},
"Experimental Flags": {}
}
Can you share your pymc and nutpie versions as well?
❯ uv pip show pymc nutpie
Using Python 3.12.11 environment at: .venv
Name: nutpie
Version: 0.16.10
Location: .venv/lib/python3.12/site-packages
Requires: arro3-core, arviz, obstore, pandas, platformdirs, pyarrow, xarray, zarr
Required-by:
---
Name: pymc
Version: 6.0.0
Location: .venv/lib/python3.12/site-packages
Requires: arviz, cachetools, cloudpickle, numpy, pandas, pytensor, rich, scipy, threadpoolctl, typing-extensions
Required-by: pymc-extras
will try to run on marimo tomorrow to see if I can reproduce. What OS are you in?
MacOS 15.7.5 (24G624)
I can reproduce marimo bars don’t progress with marimo, just none → all. There’s some custom code and I have to be honest I didn’t test with marimo ahead of time.
Also noticed marimo keeps updating speed for finished bars in PyMC… Will try to fix. Thanks a lot for reporting
Should be fixed by Fix marimo progress bar issues by ricardoV94 · Pull Request #8298 · pymc-devs/pymc · GitHub
should be fixed in 6.0.1