Commit 4b88d49
[core][compiled graphs] Check for unused input attributes (ray-project#49382)
If a user forgets to use a DAG's input attributes, it can lead to silent
errors. This PR adds a check to make sure that there is a path between
all DAG input attributes and the DAG's final output.
## Related issue number
Closes ray-project#47165
---------
Signed-off-by: Lydia <[email protected]>
Signed-off-by: Stephanie wang <[email protected]>
Co-authored-by: Stephanie wang <[email protected]>1 parent 0b94534 commit 4b88d49
File tree
2 files changed
+85
-0
lines changed- python/ray/dag
- tests/experimental
2 files changed
+85
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
102 | 148 | | |
103 | 149 | | |
104 | 150 | | |
| |||
948 | 994 | | |
949 | 995 | | |
950 | 996 | | |
| 997 | + | |
951 | 998 | | |
952 | 999 | | |
953 | 1000 | | |
954 | 1001 | | |
955 | 1002 | | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
956 | 1007 | | |
957 | 1008 | | |
958 | 1009 | | |
| |||
1132 | 1183 | | |
1133 | 1184 | | |
1134 | 1185 | | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
1135 | 1190 | | |
1136 | 1191 | | |
1137 | 1192 | | |
| |||
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2996 | 2996 | | |
2997 | 2997 | | |
2998 | 2998 | | |
| 2999 | + | |
| 3000 | + | |
| 3001 | + | |
| 3002 | + | |
| 3003 | + | |
| 3004 | + | |
| 3005 | + | |
| 3006 | + | |
| 3007 | + | |
| 3008 | + | |
| 3009 | + | |
| 3010 | + | |
| 3011 | + | |
| 3012 | + | |
| 3013 | + | |
| 3014 | + | |
| 3015 | + | |
| 3016 | + | |
| 3017 | + | |
| 3018 | + | |
| 3019 | + | |
| 3020 | + | |
| 3021 | + | |
| 3022 | + | |
| 3023 | + | |
| 3024 | + | |
| 3025 | + | |
| 3026 | + | |
| 3027 | + | |
| 3028 | + | |
2999 | 3029 | | |
3000 | 3030 | | |
3001 | 3031 | | |
| |||
0 commit comments