Skip to content

expose progress bar print rate option in MCMC#2145

Open
mdmould wants to merge 4 commits intopyro-ppl:masterfrom
mdmould:master
Open

expose progress bar print rate option in MCMC#2145
mdmould wants to merge 4 commits intopyro-ppl:masterfrom
mdmould:master

Conversation

@mdmould
Copy link

@mdmould mdmould commented Mar 3, 2026

Allows a user input print_rate to numpyro.infer.MCMC to set the number of iterations per progress bar update.

This was motivated by wanting to have more frequent progress bar update for slow iterations when num_chains>1, where the default was to update after each 5% of total iterations, but it also works for num_chains=1.

@Qazalbash
Copy link
Collaborator

Thanks @mdmould

@Qazalbash Qazalbash requested a review from fehiepsi March 3, 2026 18:28
@Qazalbash
Copy link
Collaborator

@mdmould CI is failing on lint and formatting. Please run prek run -a or pre-commit run -a and push the new changes.

@mdmould
Copy link
Author

mdmould commented Mar 5, 2026

My bad, just ran and pushed

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