forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core] Refactoring Ray DAG object scanner (ray-project#26917)
* make sure Ray DAG can work with minimal install Signed-off-by: Siyuan Zhuang <[email protected]>\ Signed-off-by: Rohan138 <[email protected]>
- Loading branch information
Showing
3 changed files
with
39 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
"""This module defines the base class for object scanning and gets rid of | ||
reference cycles.""" | ||
from ray.util.annotations import DeveloperAPI | ||
|
||
|
||
@DeveloperAPI | ||
class DAGNodeBase: | ||
"""Common base class for a node in a Ray task graph.""" |
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