-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better error message when SeqIO metric computation fails
1. Attach the task name to the error. There is some "Computing metrics for ..." logging before evaluating each task, but (1) that's hard to discover when trawling through verbose logs, and (2) it's potentially far away due to the delay explained below. 2. Immediately log the error. Due to the `self._metrics_future`, each round will only check that the "_previous_ step's metrics are finished", i.e. the error is thrown out to the user much later than it actually happened. This can make debugging more difficult, so additionally log the error right when it happened, before propagating it out to the Future. PiperOrigin-RevId: 579187158
- Loading branch information
SeqIO Team
authored and
SeqIO
committed
Feb 5, 2024
1 parent
7639986
commit e30f08c
Showing
2 changed files
with
107 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters