8000 [Ray component: Core] Enable better progress bar · Issue #26426 · ray-project/ray · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Ray component: Core] Enable better progress bar #26426
Open
@JiahaoYao

Description

@JiahaoYao

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issue, but not time-criticalenhancementRequest for new feature and/or capabilityobservabilityIssues related to the Ray Dashboard, Logging, Metrics, Tracing, and/or Profilingpending-cleanupThis issue is pending cleanup. It will be removed in 2 weeks after being assigned.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0