Skip to content
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

Update Stan to 2.36.0 #253

Merged
merged 4 commits into from
Dec 18, 2024
Merged

Update Stan to 2.36.0 #253

merged 4 commits into from
Dec 18, 2024

Conversation

WardBrian
Copy link
Collaborator

Stan 2.36 released this morning.

This PR:

  • Updates the backend to use a newer commit of tinystan which includes Stan 2.36
  • Updates our copy of stanc.js

Also updates the docker image to use a newer emscripten and the new repo link for TBB.

To verify, you can use a new function like

generated quantities {
  real rng = beta_neg_binomial_rng(0.2,0.4,0.3);
}

@WardBrian
Copy link
Collaborator Author

@magland how manual is the process to update the public server?

Copy link
Collaborator

@jsoules jsoules left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked out the branch and started a local gui server.

Added the suggested generated quantities block to the end of the linear regression model.

While connected to public server (old version of Stanc), attempting to compile returns a syntax error (this is expected).

Ran a local compilation server with the docker image provided in this branch. When connected to this, everything works as expected and the rng field is populated.

Note: the first time I tried to sample after compiling, I got some kind of blank screen. Didn't have the log up so I don't know what happened--when I reloaded and reran, everything went fine.

@WardBrian WardBrian merged commit f4c4684 into main Dec 18, 2024
2 checks passed
@WardBrian WardBrian deleted the update/stan-2.36.0 branch December 18, 2024 19:58
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

Successfully merging this pull request may close these issues.

2 participants