-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Speed up task submissions a bit #5992
Conversation
@@ -149,8 +151,8 @@ def invocation(args, kwargs): | |||
num_return_vals) | |||
else: | |||
object_ids = worker.core_worker.submit_task( | |||
self._function_descriptor.get_function_descriptor_list(), | |||
list_args, num_return_vals, resources) | |||
self._function_descriptor_list, list_args, num_return_vals, |
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.
@pcmoritz was this the only optimization? I thought there were a couple more.
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.
There was a little more in #4522 concerning the argument parsing, I'll see if that's still relevant.
Can one of the admins verify this patch? |
Test FAILed. |
python/ray/function_manager.py
Outdated
@@ -294,6 +294,8 @@ def __init__(self, worker): | |||
# to a FunctionExecutionInfo object. This should only be used on | |||
# workers that execute remote functions. | |||
self._function_execution_info = defaultdict(lambda: {}) | |||
self._function_descriptors = defaultdict(lambda: {}) |
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.
These two are not needed
Test FAILed. |
jenkins retest this please |
Test FAILed. |
Why are these changes needed?