-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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][c++ worker]Add namespace support for c++ worker #26327
Merged
Merged
Conversation
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
FYI: We are aiming to remove job config concept these days, see #26116 |
jovany-wang
reviewed
Jul 7, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice PR, I left some minor comments related code style and practices.
raulchen
approved these changes
Jul 7, 2022
jovany-wang
approved these changes
Jul 7, 2022
6 tasks
8 tasks
edoakes
pushed a commit
to edoakes/ray
that referenced
this pull request
Jul 14, 2022
…6327) Signed-off-by: Edward Oakes <[email protected]>
nikitavemuri
pushed a commit
to nikitavemuri/ray
that referenced
this pull request
Jul 15, 2022
…6327) Signed-off-by: Nikita Vemuri <[email protected]>
Catch-Bull
pushed a commit
to alipay/ant-ray
that referenced
this pull request
Jul 18, 2022
…6327) Signed-off-by: Catch-Bull <[email protected]>
Catch-Bull
pushed a commit
to alipay/ant-ray
that referenced
this pull request
Jul 18, 2022
…6327) Signed-off-by: Catch-Bull <[email protected]>
jovany-wang
pushed a commit
that referenced
this pull request
Jul 20, 2022
…d specifying namespace while creating/getting named actors (#26498) We've supported namespace in c++ worker in #26327. Here we add doc for usage and also reinforce the documents of Java and Python, like adding explanation of specifying namespace while creating named actors. - [x] add doc for basic c++ worker namespace usage - [x] add explanation for specifying namespace while creating named actors, in Python, Java and C++
avnishn
pushed a commit
to smorad/ray
that referenced
this pull request
Jul 20, 2022
…6327) Signed-off-by: Avnish <[email protected]>
avnishn
pushed a commit
to smorad/ray
that referenced
this pull request
Jul 20, 2022
…d specifying namespace while creating/getting named actors (ray-project#26498) We've supported namespace in c++ worker in ray-project#26327. Here we add doc for usage and also reinforce the documents of Java and Python, like adding explanation of specifying namespace while creating named actors. - [x] add doc for basic c++ worker namespace usage - [x] add explanation for specifying namespace while creating named actors, in Python, Java and C++ Signed-off-by: Avnish <[email protected]>
shrekris-anyscale
pushed a commit
to shrekris-anyscale/ray
that referenced
this pull request
Jul 22, 2022
…d specifying namespace while creating/getting named actors (ray-project#26498) We've supported namespace in c++ worker in ray-project#26327. Here we add doc for usage and also reinforce the documents of Java and Python, like adding explanation of specifying namespace while creating named actors. - [x] add doc for basic c++ worker namespace usage - [x] add explanation for specifying namespace while creating named actors, in Python, Java and C++ Signed-off-by: Shreyas Krishnaswamy <[email protected]>
yaxife
pushed a commit
to alipay/ant-ray
that referenced
this pull request
Jul 26, 2022
…d specifying namespace while creating/getting named actors (ray-project#26498) We've supported namespace in c++ worker in ray-project#26327. Here we add doc for usage and also reinforce the documents of Java and Python, like adding explanation of specifying namespace while creating named actors. - [x] add doc for basic c++ worker namespace usage - [x] add explanation for specifying namespace while creating named actors, in Python, Java and C++ Signed-off-by: nanqi.yxf <[email protected]>
klwuibm
pushed a commit
to yuanchi2807/ray
that referenced
this pull request
Jul 27, 2022
…6327) Signed-off-by: klwuibm <[email protected]>
klwuibm
pushed a commit
to yuanchi2807/ray
that referenced
this pull request
Jul 27, 2022
…d specifying namespace while creating/getting named actors (ray-project#26498) We've supported namespace in c++ worker in ray-project#26327. Here we add doc for usage and also reinforce the documents of Java and Python, like adding explanation of specifying namespace while creating named actors. - [x] add doc for basic c++ worker namespace usage - [x] add explanation for specifying namespace while creating named actors, in Python, Java and C++ Signed-off-by: klwuibm <[email protected]>
Catch-Bull
pushed a commit
to alipay/ant-ray
that referenced
this pull request
Jul 27, 2022
…d specifying namespace while creating/getting named actors (ray-project#26498) We've supported namespace in c++ worker in ray-project#26327. Here we add doc for usage and also reinforce the documents of Java and Python, like adding explanation of specifying namespace while creating named actors. - [x] add doc for basic c++ worker namespace usage - [x] add explanation for specifying namespace while creating named actors, in Python, Java and C++ Signed-off-by: Catch-Bull <[email protected]>
Rohan138
pushed a commit
to Rohan138/ray
that referenced
this pull request
Jul 28, 2022
…d specifying namespace while creating/getting named actors (ray-project#26498) We've supported namespace in c++ worker in ray-project#26327. Here we add doc for usage and also reinforce the documents of Java and Python, like adding explanation of specifying namespace while creating named actors. - [x] add doc for basic c++ worker namespace usage - [x] add explanation for specifying namespace while creating named actors, in Python, Java and C++ Signed-off-by: Rohan138 <[email protected]>
franklsf95
pushed a commit
to franklsf95/ray
that referenced
this pull request
Aug 2, 2022
…6327) Signed-off-by: Frank Luan <[email protected]>
franklsf95
pushed a commit
to franklsf95/ray
that referenced
this pull request
Aug 2, 2022
…d specifying namespace while creating/getting named actors (ray-project#26498) We've supported namespace in c++ worker in ray-project#26327. Here we add doc for usage and also reinforce the documents of Java and Python, like adding explanation of specifying namespace while creating named actors. - [x] add doc for basic c++ worker namespace usage - [x] add explanation for specifying namespace while creating named actors, in Python, Java and C++ Signed-off-by: Frank Luan <[email protected]>
gramhagen
pushed a commit
to gramhagen/ray
that referenced
this pull request
Aug 15, 2022
…6327) Signed-off-by: Scott Graham <[email protected]>
gramhagen
pushed a commit
to gramhagen/ray
that referenced
this pull request
Aug 15, 2022
…d specifying namespace while creating/getting named actors (ray-project#26498) We've supported namespace in c++ worker in ray-project#26327. Here we add doc for usage and also reinforce the documents of Java and Python, like adding explanation of specifying namespace while creating named actors. - [x] add doc for basic c++ worker namespace usage - [x] add explanation for specifying namespace while creating named actors, in Python, Java and C++ Signed-off-by: Scott Graham <[email protected]>
gramhagen
pushed a commit
to gramhagen/ray
that referenced
this pull request
Aug 15, 2022
gramhagen
pushed a commit
to gramhagen/ray
that referenced
this pull request
Aug 15, 2022
…d specifying namespace while creating/getting named actors (ray-project#26498) We've supported namespace in c++ worker in ray-project#26327. Here we add doc for usage and also reinforce the documents of Java and Python, like adding explanation of specifying namespace while creating named actors. - [x] add doc for basic c++ worker namespace usage - [x] add explanation for specifying namespace while creating named actors, in Python, Java and C++
Stefan-1313
pushed a commit
to Stefan-1313/ray_mod
that referenced
this pull request
Aug 18, 2022
…6327) Signed-off-by: Stefan van der Kleij <[email protected]>
Stefan-1313
pushed a commit
to Stefan-1313/ray_mod
that referenced
this pull request
Aug 18, 2022
…d specifying namespace while creating/getting named actors (ray-project#26498) We've supported namespace in c++ worker in ray-project#26327. Here we add doc for usage and also reinforce the documents of Java and Python, like adding explanation of specifying namespace while creating named actors. - [x] add doc for basic c++ worker namespace usage - [x] add explanation for specifying namespace while creating named actors, in Python, Java and C++ Signed-off-by: Stefan van der Kleij <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why are these changes needed?
Namespace feature has been supported in Python/Java but not in c++ worker. All created actors are assigned with a default empty namespace.
With this change, users can use namespace in c++ worker like:
Then all named actor created are under namespace
my_ns
, they're invisible to other namespaces.Then
test_actor
is under namespacetest_ns
, it's only visible to those who is under same one.User can also use api with namespace to get an actor:
I'll file another PR to update the doc.
Related issue number
#26183
Checks
scripts/format.sh
to lint the changes in this PR.