-
Notifications
You must be signed in to change notification settings - Fork 7k
[Train] Per dataset execution_option for DataConfig #58717
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
[Train] Per dataset execution_option for DataConfig #58717
Conversation
Signed-off-by: xgui <[email protected]>
Signed-off-by: xgui <[email protected]>
Signed-off-by: xgui <[email protected]>
Signed-off-by: xgui <[email protected]>
justinvyu
left a comment
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.
great, thanks! can you add a motivating usage example in the PR description?
Co-authored-by: Justin Yu <[email protected]> Signed-off-by: Xinyuan <[email protected]>
Signed-off-by: xgui <[email protected]>
Signed-off-by: xgui <[email protected]>
justinvyu
left a comment
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.
Thanks! Almost good
Signed-off-by: xgui <[email protected]>
Signed-off-by: xgui <[email protected]>
Signed-off-by: xgui <[email protected]>
justinvyu
left a comment
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.
Thanks!
|
Btw, can you add a motivating usage example in the PR description? |
Signed-off-by: xgui <[email protected]>
Done. |
This PR adds support for per-dataset execution options in `DataConfig`, allowing users to specify different `ExecutionOptions` for different datasets. This enables fine-grained control over how each dataset is processed by Ray Data. --------- Signed-off-by: xgui <[email protected]> Signed-off-by: Xinyuan <[email protected]> Co-authored-by: Justin Yu <[email protected]> Signed-off-by: YK <[email protected]>
This PR adds support for per-dataset execution options in `DataConfig`, allowing users to specify different `ExecutionOptions` for different datasets. This enables fine-grained control over how each dataset is processed by Ray Data. --------- Signed-off-by: xgui <[email protected]> Signed-off-by: Xinyuan <[email protected]> Co-authored-by: Justin Yu <[email protected]>
Summary
This PR adds support for per-dataset execution options in
DataConfig, allowing users to specify differentExecutionOptionsfor different datasets. This enables fine-grained control over how each dataset is processed by Ray Data.Use case
For train and test dataset, users might need different
execution_options.exclude_resourcesorexecution_options.resource_limits. This PR enables this configuration.For example, it's common to have different
ExecutionOptionsfor train dataset and validation dataset.