You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys, looking for the way to fix this mess... tqdm is creating a bunch of progress bars and my logs keep growing the notebook to a massive size. I've tried setting RAY_DATA_DISABLE_PROGRESS_BARS=1, but that did not help. How do I either turn off the progress bars or ideally, make them work as they are supposed to (one single progress bar)?
Thanks
Versions / Dependencies
Ray version: 2.35.0
Python version: 3.11.9
OS: Ubuntu 20.04
Medium: It is a significant difficulty but I can work around it.
The text was updated successfully, but these errors were encountered:
vladjohnson
added
bug
Something that is supposed to be working; but isn't
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
labels
Sep 18, 2024
Thanks for reporting the issue; this behavior is definitely not expected.
Especially with setting RAY_DATA_DISABLE_PROGRESS_BARS=1, this should definitely disable the progress bar.
My first thought is that you should pass this env var into the ray runtime env. For example, if you are using ray.init(), you can pass it into env_vars (see the docs). This will ensure all workers get this env var, and disables progress bars properly.
You can also explicitly set the variable in DataContext:
This disables the special tqdm implementation for distributed settings, which Ray Data uses to manage progress bars across multiple workers.
(2) Another temporary workaround that might work:
ctx.enable_operator_progress_bars = False
this disables operator-level progress bars, so that it only shows the top-level global progress bar. Although this won't resolve the issue completely, it will at least help reduce the output spam.
scottjlee
added
P1
Issue that should be fixed within a few weeks
data
Ray Data-related issues
and removed
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
labels
Sep 18, 2024
scottjlee
changed the title
[Ray Train] Logging Hell in VS Code's Jupyter Editor
[Data] Logging Hell in VS Code's Jupyter Editor
Sep 18, 2024
What happened + What you expected to happen
Hey guys, looking for the way to fix this mess... tqdm is creating a bunch of progress bars and my logs keep growing the notebook to a massive size. I've tried setting RAY_DATA_DISABLE_PROGRESS_BARS=1, but that did not help. How do I either turn off the progress bars or ideally, make them work as they are supposed to (one single progress bar)?
Thanks
Versions / Dependencies
Ray version: 2.35.0
Python version: 3.11.9
OS: Ubuntu 20.04
Reproduction script
Issue Severity
Medium: It is a significant difficulty but I can work around it.
The text was updated successfully, but these errors were encountered: