-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
CmdStan 2.36 no longer requires fixed_param hacks #771
Conversation
7667d52
to
341ea60
Compare
[ci skip]
[ci skip]
fails on my macbook:
using CmdStan 2.36 rc1, I ran the no-param model datagen - and tried to read in the
more logic needed in the CSV reader. (sigh) |
weird, that’s the error this branch gets if you run it with an older cmdstan. I don’t get that with the RC I didn’t try from_csv yet, but I’m a bit surprised at that error, since the changes here still do create a (empty) matrix |
By far my much bigger concern is stansummary apparently aborting on MacOS — we can fix cmdstanpy stuff separately from the release if needed, but that will hold the release up |
the underlying problem is that std::mcmc::chainset.quantiles function omits to check whether the set of draws are finite and have variance. this becomes a problem because when there are no parameters, the |
After the latest round of Stan PRs, this branch is now passing: https://github.com/stan-dev/cmdstanpy/actions/runs/12091362509 there might be more fixes needed on our end for things like the from_csv method, but I am guessing that RC2 will be more or less done |
Passed under RC2: https://github.com/stan-dev/cmdstanpy/actions/runs/12141600359 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! nice to be rid of that hack.
Submission Checklist
Summary
CmdStan 2.36 allows the HMC samplers with 0 parameters
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Simons Foundation
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: