Skip to content

generate quantities method always reports completion of chains in 0s #1070

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

Open
mike-lawrence opened this issue Sep 24, 2024 · 3 comments
Open

Comments

@mike-lawrence
Copy link
Collaborator

Not a big deal, but thought it worth reporting. When running the generate quantities method, compute indeed takes time but the printed progress always reports completion in 0.0s:

Running standalone generated quantities after 6 MCMC chains, 1 chain at a time ...

Chain 1 finished in 0.0 seconds.
Chain 2 finished in 0.0 seconds.
Chain 3 finished in 0.0 seconds.
Chain 4 finished in 0.0 seconds.
Chain 5 finished in 0.0 seconds.
Chain 6 finished in 0.0 seconds.

All 6 chains finished successfully.
Mean chain execution time: 0.0 seconds.
Total execution time: 106.2 seconds.

Current Version:

v2.35.0

@WardBrian
Copy link
Member

@mike-lawrence what is this the output of? I believe all of the messages you're showing come from cmdstanr, not cmdstan

@mike-lawrence
Copy link
Collaborator Author

Ah, yes, I would have been using cmdstanR here.

@WardBrian WardBrian transferred this issue from stan-dev/cmdstan Mar 27, 2025
@jgabry
Copy link
Member

jgabry commented Apr 7, 2025

Thanks for moving the issue @WardBrian, I hadn't seen this. This isn't at the highest priority on my todo list, but it would be good to figure out why that's happening when I have some time. Thanks for reporting it @mike-lawrence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants