-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
MPI warmup auto metric #821
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…sion of Stan in personal fork that has the new adaptation stuff
…perimental/warmup-auto
yizhang-yiz
force-pushed
the
mpi_warmup_v2
branch
from
February 24, 2020 20:40
a0db5d9
to
89c8448
Compare
yizhang-yiz
force-pushed
the
mpi_warmup_v2
branch
from
February 24, 2020 20:41
89c8448
to
3958ee7
Compare
yizhang-yiz
force-pushed
the
mpi_warmup_v2
branch
from
February 26, 2020 22:59
998917e
to
9c8b655
Compare
Closing for now. There'll be a more up to date branch somewhere else. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Submisison Checklist
./runCmdStanTests.py src/test
Summary:
This pulls in the auto metric from: #729 . Most of the code is in stan-dev/stan#2886 .
How to Verify:
Can get an operational version of this with:
My make/local is:
Here's an example model that works best with the dense_e metric: https://github.com/bbbales2/cmdstan-warmup/tree/develop/examples/diamonds
Here's an example model that works best with the diag_e metric: https://github.com/bbbales2/cmdstan-warmup/tree/develop/examples/radon
Build the models and such:
Can run a model and see output with something like (mpich):
When you're running these things you'll see printouts like:
A lower number there is better. Every chain does the calculation, but chain 0 still broadcasts and overwrites all the other metrics.
Side Effects:
I also changed how file naming works in an earlier commit in this branch:
This is so the mpi stuff can work with a branch of cmdstanr.
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): Columbia University
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: