Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core][compiled graphs] Rename adag -> cgraph to clean up API #49448

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ruisearch42
Copy link
Contributor

Why are these changes needed?

Clean up API for beta release

Related issue number

Closes #47934

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@ruisearch42 ruisearch42 requested a review from a team as a code owner December 26, 2024 16:36
@ruisearch42 ruisearch42 added the go add ONLY when ready to merge, run all tests label Dec 26, 2024
Signed-off-by: Rui Qiao <[email protected]>
@@ -97,10 +97,10 @@ def _get_node_id(self) -> "ray.NodeID":
z = c.inc.bind(inp)
dag = MultiOutputNode([x, y, z])

adag = dag.experimental_compile()
cdag = dag.experimental_compile()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want cdag or cgraph ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

external API: cgraph
internally, cgraph and cdag can be used interchangeably
here cdag is easier to read since we call experimental_compile() on dag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go add ONLY when ready to merge, run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Core] [CG] API/code rename from adag > Compiled Graphs
3 participants