-
-
Notifications
You must be signed in to change notification settings - Fork 79
Enable save_metric=1 and sources MCMC metric info from new JSON file
#844
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
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
cdb9d9d
Add save_metric=1 to adapt sampler args
amas0 62fefae
Add metric files to RunSet
amas0 c7fef6b
Add metric files runset tests
amas0 838b78c
Add initial metric parsing logic
amas0 f7a9ae9
Fix string name collisions cmdstan args test
amas0 c47791b
Lazily load metric info from file
amas0 4823796
Fix field_validator to be classmethod
amas0 d23a9d6
Properly handle one process per chain metric output
amas0 66512d5
Remove _step_size initialization from assemble_draws
amas0 4a40ef7
Allow stepsize to be nan
amas0 cb493b5
Short-circuit metric properties to None when fixed param
amas0 84ae036
Only enable save_metric=1 when adapt engaged
amas0 063dfb9
Add metric file output for testing CmdStanMCMC construction from outp…
amas0 2d076af
Merge branch 'stan-dev:develop' into enable-save-metric
amas0 b138308
Add metric files for runset-big
amas0 29ddbfd
Fix metric output filenames test to reflect one proc per chain
amas0 4502aef
Remove functionality and tests for parsing metric info from CSV
amas0 d80461d
Add pydantic as a dependency
amas0 0f5dab8
Add tests of MetricInfo validators
amas0 82a85d2
Remove unused chain_id from MetricInfo
amas0 1635915
Remove stringified type hints
amas0 1f0f0a9
Clarify arbitrary_types_allowed usage
amas0 5fcee74
Remove _metric_info_parsed
amas0 2497754
Add tests for invalid metric type
amas0 37080af
Convert MetricInfo.inv_metric to native Python types
amas0 b5926c9
Fixup mypy issue in tests
amas0 915eef5
Convert to list for test clarity
amas0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.