-
Notifications
You must be signed in to change notification settings - Fork 328
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
[ray] Support scheduling ray tasks in Ray oscar deploy backend #3165
[ray] Support scheduling ray tasks in Ray oscar deploy backend #3165
Conversation
Why not create an actor of Mars |
bcbac7d
to
706bdf4
Compare
Creating supervisor in Ray oscar can reuse all existing integration with ray. If we create an actor of Mars
|
e75fb36
to
775304e
Compare
775304e
to
11bf076
Compare
2e6c8d0
to
dae169d
Compare
ebf00f4
to
944a094
Compare
944a094
to
a7ea6b6
Compare
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.
LGTM
self._worker_mem, | ||
) | ||
else: | ||
execution_config.merge_from( |
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.
Maybe it's better to specify the backend explicitly like ray
or something others instead of else
statement.
And we can raise an exception if user passes an unsupported backend.
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.
Good catch, we should validate the passed backend type, just fixed it.
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.
LGTM.
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.
LGTM
…project#3165) * support ray task mode on oscar * fix mars on ray serialization * fix ray dag serialization for local mode * refine clean serializers * fix register ray_serializers * fix tests * revert load_config * support mars supervisor for ray task mode * fix use_ray_serialization * fix register and clean ray_serializers * fix test_sync_execute create session duplciately * fix tests * lint * add test_ray_dag_oscar to ci * validate backend parameter (cherry picked from commit 8ee68e2)
…project#3165) * support ray task mode on oscar * fix mars on ray serialization * fix ray dag serialization for local mode * refine clean serializers * fix register ray_serializers * fix tests * revert load_config * support mars supervisor for ray task mode * fix use_ray_serialization * fix register and clean ray_serializers * fix test_sync_execute create session duplciately * fix tests * lint * add test_ray_dag_oscar to ci * validate backend parameter (cherry picked from commit 8ee68e2)
What do these changes do?
This PR add support for scheduling ray tasks in Ray oscar deploy backend
Related issue number
Closes #3164
Check code requirements