-
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
[data] New executor [10/n]--- Plumbing for locality_with_output and setting execution options #31908
Conversation
Signed-off-by: Eric Liang <ekhliang@gmail.com>
Signed-off-by: Eric Liang <ekhliang@gmail.com>
Signed-off-by: Eric Liang <ekhliang@gmail.com>
Signed-off-by: Eric Liang <ekhliang@gmail.com>
Signed-off-by: Eric Liang <ekhliang@gmail.com>
Signed-off-by: Eric Liang <ekhliang@gmail.com>
Signed-off-by: Eric Liang <ekhliang@gmail.com>
Signed-off-by: Eric Liang <ekhliang@gmail.com>
Signed-off-by: Eric Liang <ekhliang@gmail.com>
Signed-off-by: Eric Liang <ekhliang@gmail.com>
Signed-off-by: Eric Liang <ekhliang@gmail.com>
Signed-off-by: Eric Liang <ekhliang@gmail.com>
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 w/ minor comment.
from ray.data._internal.execution.legacy_compat import ( | ||
execute_to_legacy_block_iterator, | ||
) | ||
|
||
executor = StreamingExecutor(ExecutionOptions()) | ||
executor = StreamingExecutor(copy.deepcopy(ctx.execution_options)) |
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.
given execution_options
could be muted in StreamingExecutor
/BulkExecutor
, shall we just provide a method in DatasetContext.get_execution_options()
to just return a deep copy of ctx.execution_options
?
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.
Missed this comment--- I'll file a followup.
@@ -171,6 +175,8 @@ def __init__( | |||
self.enable_auto_log_stats = enable_auto_log_stats | |||
self.trace_allocations = trace_allocations | |||
self.optimizer_enabled = optimizer_enabled | |||
# TODO: expose execution options in Dataset public APIs. |
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.
It'd be better to create a tracking issue
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.
Added to #31797
Why are these changes needed?