-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Change API for remote function declaration, actor instantiation, and actor method invocation. #541
Conversation
Merged build finished. Test FAILed. |
Test FAILed. |
Merged build finished. Test PASSed. |
Test PASSed. |
Merged build finished. Test PASSed. |
Test PASSed. |
Merged build finished. Test PASSed. |
Test PASSed. |
Merged build finished. Test PASSed. |
Test PASSed. |
Merged build finished. Test PASSed. |
Test PASSed. |
Merged build finished. Test PASSed. |
Test PASSed. |
This is intended to resolve #525. Note that this changes the API, so everyone's code will break when this is merged.
This PR changes the API so that
@ray.task
and invoked withf.remote()
. (Previously they were declared with@ray.remote
.)@ray.actor
and instantiated withClass.remote()
. (Previously they were instantiated withClass()
.)object.method.remote()
. (Previously they were invoked withobject.method()
.)