-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
ENH: Disable all progress bars #7151
Comments
|
Workaround from: AnswerDotAI/fastprogress#105 (comment)
I wonder if this should be added to pymc's api so that if/when the fastprogress dependency is switched for something else, that we will keep the same structure. |
Not counting on switching that dependency anytime soon |
Can we get some discussion going around the interface for this feature? Is a global |
Environment variables feel like a good fit for configuring global things like this, especially when it comes to output. You can also provide Python to helpers for setting these values for folks who want to be able to configure this in Python. For example the progress bar could check |
Context for the issue:
Currently the progress bars printed by
pymc
are printed to stdout in my backend service. They often corrupt the structured logs that my service prints.Right now, I need to go through my code to disable all of the progress bars.
Aka I need to, update from:
To:
It would make my code better, if I could do something like:
And that would disable all progress bars in pymc.
This would allow me to make my code easy to use with the backend service we integrate with but also to use in notebooks or IDEs.
Related: AnswerDotAI/fastprogress#105
The text was updated successfully, but these errors were encountered: