-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core][experimental] Catch errors for DAG API (#46264)
Catch unhandled errors in DAG API: - when Ray actor tasks with multiple returns are used, throw error - throw error when dag.execute inputs don't match the expected number of args or kwargs - supporting binding kwargs to normal Python values - throw error when user tries to bind DAG nodes to kwargs (not supported yet) - When raising RayTaskError, raise it as instance of the original exception Closes #46222. --------- Signed-off-by: Stephanie Wang <swang@cs.berkeley.edu>
- Loading branch information
1 parent
1e2599f
commit 9a2f2c2
Showing
6 changed files
with
232 additions
and
42 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
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
Oops, something went wrong.