8000 Native Progress Bar/tqdm for Ray · Issue #9233 · ray-project/ray · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Native Progress Bar/tqdm for Ray #9233
Closed
@richardliaw

Description

@richardliaw

Describe your feature request

Using Ray with tdqm is always really unwieldy. Either, you have to restructure your application to yield control at progress reporting points, or you are faced with a large pyramid:

  0%|▎                                                                                                          | 1/400 [01:37<10:48:44, 97.56s/it]
  0%|▌                                                                                                           | 2/400 [01:38<7:35:18, 68.64s/it]
  1%|▊                                                                                                           | 3/400 [01:39<5:20:10, 48.39s/it]
  1%|█                                                                                                           | 4/400 [01:41<3:46:10, 34.27s/it]
  1%|█▎                                                                                                          | 5/400 [01:42<2:40:40, 24.41s/it]
  2%|█▌                                                                                                          | 6/400 [01:43<1:54:41, 17.47s/it]
  2%|█▉                                                                                                          | 7/400 [01:45<1:22:43, 12.63s/it]
  2%|██▏                                                                                                           | 8/400 [01:46<59:54,  9.17s/it]
  2%|██▍                                                                                                           | 9/400 [01:47<44:45,  6.87s/it]
  2%|██▋                                                                                                          | 10/400 [01:49<33:55,  5.22s/it]
  3%|██▉                                                                                                          | 11/400 [01:50<25:45,  3.97s/it]
  3%|███▎                                                                                                         | 12/400 [01:52<21:26,  3.31s/it]
  3%|███▌                                                                                                         | 13/400 [01:53<17:06,  2.65s/it]
  4%|███▊                                                                                                         | 14/400 [01:54<14:31,  2.26s/it]
  4%|████                                                                                                         | 15/400 [01:55<12:43,  1.98s/it]
  4%|████▎                                                                                                        | 16/400 [01:57<11:32,  1.80s/it]
  4%|████▋                                                                                                        | 17/400 [01:58<10:14,  1.60s/it]
  4%|████▉                                                                                                        | 18/400 [01:59<10:00,  1.57s/it]
  5%|█████▏                                                                                                       | 19/400 [02:00<09:06,  1.43s/it]
  5%|█████▍                                                                                                       | 20/400 [02:02<08:46,  1.38s/it]
  5%|█████▋                                                                                                       | 21/400 [02:03<09:22,  1.48s/it]
  6%|█████▉                                                                                                       | 22/400 [02:05<08:59,  1.43s/it]
  6%|██████▎                                                                                                      | 23/400 [02:06<08:18,  1.32s/it]
  6%|██████▌                                                                                                      | 24/400 [02:07<07:59,  1.27s/it]
  6%|██████▊                                                                                                      | 25/400 [02:08<08:19,  1.33s/it]
  6%|███████                                                                                                      | 26/400 [02:10<08:50,  1.42s/it]
  7%|███████▎                                                                                                     | 27/400 [02:11<08:12,  1.32s/it]
  7%|███████▋                                                                                                     | 28/400 [02:13<08:38,  1.40s/it]
  7%|███████▉                                                                                                     | 29/400 [02:14<08:45,  1.42s/it]
  8%|████████▏                                                                                                    | 30/400 [02:15<08:00,  1.30s/it]
  8%|████████▍                                                                                                    | 31/400 [02:17<08:02,  1.31s/it]

One way of achieving this is by simply enabling carriage returns when Ray spits out the worker output.

Similarly, it'd be nice to enable stdout for only 1 actor at a time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Issue that should be fixed within a few weeksdashboardIssues specific to the Ray DashboardenhancementRequest for new feature and/or capabilityobservabilityIssues related to the Ray Dashboard, Logging, Metrics, Tracing, and/or Profiling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0