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
import ray
import time
def fn(batch):
time.sleep(10)
return batch
ds = ray.data.range(10).repartition(10)
ds.map_batches(fn).take_all()
Issue Severity
None
The text was updated successfully, but these errors were encountered:
scottjlee
added
bug
Something that is supposed to be working; but isn't
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
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
Apr 26, 2024
This fix would be awesome! It would be nice to see the progress bar complete - it's much easier than needing to check the completion of a cell in the left corner.
Currently the Ray progress bar doesn't update correctly due to this
issue: ray-project/ray#44983. Until that is
fixed, we disable the progress bar by default. You can explicitly
enable by passing enable_progress_bars=True in the sycamore.init function.
What happened + What you expected to happen
When executing a Ray Dataset on Jupyter notebook, the progress bar is left partially complete after the dataset finishes executing:
When we disable ray_tqdm, the progress bars are filled to completion as expected:
So it looks like there is likely a bug in
ray_tqdm
where we are not updating the progress bar before closing it.We should also update
ProgressBar
to usetqdm.auto.tqdm()
to initialize the bar when not using ray_tqdm.https://github.com/ray-project/ray/blob/master/python/ray/data/_internal/progress_bar.py#L68
Versions / Dependencies
ray master
Reproduction script
Run the following in a Jupyter notebook:
Issue Severity
None
The text was updated successfully, but these errors were encountered: