-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[Python] cmdstanpy warnings #2213
Comments
@andrjohns not sure if you ever saw this warning:
when testing the |
Thank you brother! Very useful! |
Hi there,
However, I checked my conda environment, cmdstan or cmdstanpy is installed. What could be wrong here? |
This is an FYI / guidance for those who are currently running
cmdstanpy>=1.0.2
, specifically when doing full MCMC sampling (mcmc_samples > 0
). We've noticed thatcmdstanpy
now logs warnings fairly often, even when overall the sampling is healthy and there are no divergences. Details are provided here: stan-dev/cmdstanpy#584The warnings you may see are:
What to do
These warnings may be false positives and the MCMC sampling may have converged just fine. To confirm this, run:
If you see output similar to this:
the sampling procedure likely succeeded and you can trust the results.
If you would like to only show logs from
cmdstanpy
when there is an error (instead of just a warning), you can set the logging level forcmdstanpy
in your script:The text was updated successfully, but these errors were encountered: