Skip to content

[Minor][MetaSchedule] Fix Summary Format for Invalid Runs#11584

Merged
junrushao merged 1 commit intoapache:mainfrom
junrushao:bugfix/2022-06-05/task-scheduler-table-display
Jun 6, 2022
Merged

[Minor][MetaSchedule] Fix Summary Format for Invalid Runs#11584
junrushao merged 1 commit intoapache:mainfrom
junrushao:bugfix/2022-06-05/task-scheduler-table-display

Conversation

@junrushao
Copy link
Member

Previously for invalid tasks, MetaSchedule prints a huge number in
latency which is aesthetically unacceptable. For example,

 69 |  fused_cast_add_cast_3 | 16777216 | 2 | 0.0000 | 10000000000000000019156750857346687362159551272651920111528035145993793242039887559612361451081803235328.0000 | 20000000000000000038313501714693374724319102545303840223056070291987586484079775119224722902163606470656.0000 |     64 |

This PR fixes this behavior and turns the huge number into "N/A".

Previously for invalid tasks, MetaSchedule prints a huge number in
latency which is aesthetically unacceptable. For example,

```
 69 |  fused_cast_add_cast_3 | 16777216 | 2 | 0.0000 | 10000000000000000019156750857346687362159551272651920111528035145993793242039887559612361451081803235328.0000 | 20000000000000000038313501714693374724319102545303840223056070291987586484079775119224722902163606470656.0000 |     64 |
```

This PR fixes this behavior and turns the huge number into "N/A".
Copy link
Member

@zxybazh zxybazh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@junrushao junrushao merged commit 8038987 into apache:main Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants