-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Show one progress bar per chain when sampling #7634
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 23 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
f849206
One progress bar per chain when samplings
jessegrabowski b74f4fb
Add guard against divide by zero when computing draws per second
jessegrabowski 06572c6
No more purple
jessegrabowski 23d122f
Step samplers are responsible for setting up progress bars
jessegrabowski 1c5b734
Fix typos
jessegrabowski 959f073
Add progressbar defaults to BlockedStep ABC
jessegrabowski 50394e3
pre-commit
jessegrabowski 4945153
Only update NUTS divergence stats after tuning
jessegrabowski 1cec794
Add `Elapsed` and `Remaining` columns
jessegrabowski a96d7bb
Remove green color when chain finishes
jessegrabowski d61ddf6
Create `ProgressManager` class to handle progress bars
jessegrabowski 1e13cf9
Yield `stats` from `_iter_sample`
jessegrabowski 28a80c1
Use `ProgressManager` in `_sample_many`
jessegrabowski 345faff
pre-commit
jessegrabowski 741cf36
Explicit case handling for `progressbar` argument
jessegrabowski f4ccbd5
Allow all permutations of arguments to progressbar
jessegrabowski 9649d66
Appease mypy
jessegrabowski a629a97
Add True case
jessegrabowski e024991
Fix final count when `progress = "combined"`
jessegrabowski 4e535d4
Update docstrings
jessegrabowski b9b0583
mypy + cleanup
jessegrabowski 9de9930
Syntax error in typehint
jessegrabowski 79d1248
Simplify progressbar choices, update docstring
jessegrabowski 161d10c
Incorporate feedback
jessegrabowski b381e5d
Be verbose with progressbar settings
jessegrabowski 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
Oops, something went wrong.
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.