ray-project / ray

Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.
https://ray.io
Apache License 2.0
33.47k stars 5.68k forks source link

[core][experimental] Validate DAGs in a hierarchical manner #47351

Open kevin85421 opened 1 month ago

kevin85421 commented 1 month ago

Description

https://github.com/ray-project/ray/pull/47261#discussion_r1727543342

Currently, most of the DAG validations happen during the compile process of ADAG. However, some validations should also be applied to traditional DAGs. Thus, it will be better if we can unity the codepath as follows:

Use case

No response

stephanie-wang commented 1 week ago

This needs scoping.