Open
Description
What happened + What you expected to happen
from tqdm import trange
import ray
import time
@ray.remote
def func(x):
for i in trange(x):
time.sleep(i)
return x
ray.get(func.remote(10))
and I get the outputs
2022-07-09 11:32:26,340 INFO services.py:1483 -- View the Ray dashboard at http://127.0.0.1:8265/
0%| | 0/10 [00:00<?, ?it/s]
20%|██ | 2/10 [00:01<00:04, 2.00it/s]
30%|███ | 3/10 [00:03<00:07, 1.13s/it]
40%|████ | 4/10 [00:06<00:10, 1.83s/it]
50%|█████ | 5/10 [00:10<00:12, 2.58s/it]
60%|██████ | 6/10 [00:15<00:13, 3.39s/it]
70%|███████ | 7/10 [00:21<00:12, 4.23s/it]
80%|████████ | 8/10 [00:28<00:10, 5.10s/it]
90%|█████████ | 9/10 [00:36<00:06, 6.00s/it]
100%|██████████| 10/10 [00:45<00:00, 4.50s/it]
#9233 ray-project/ray_lightning#176
Versions / Dependencies
NA
Reproduction script
NA
Issue Severity
High: It blocks me from completing my task.