-
Notifications
You must be signed in to change notification settings - Fork 117
feat: improve worker group args/kwargs #539
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
Conversation
0da5ef1
to
eef6d04
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.
How should we handle the fact that passing args will fail under certain circumstances? Can we assert fail the args or remove them entirely for now? (until we figure out what's going on)? I don't want people to run into this as a sharp edge.
…ers_sharded_data Signed-off-by: Yuki Huang <yukih@nvidia.com>
Signed-off-by: Yuki Huang <yukih@nvidia.com>
Signed-off-by: Yuki Huang <yukih@nvidia.com>
eef6d04
to
1eab584
Compare
Signed-off-by: Yuki Huang <yukih@nvidia.com>
1eab584
to
347d02c
Compare
Signed-off-by: Yuki Huang <yukih@nvidia.com>
@SahilJain314 Added assert. Also add an issue #582 to trace ray stops respecting non-kwargs arguments. |
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.
assert fail LGTM for now. We can run the CI to make sure all instances are covered.
Signed-off-by: Yuki Huang <yukih@nvidia.com>
Signed-off-by: Yuki Huang <yukih@nvidia.com>
Signed-off-by: Yuki Huang <yukih@nvidia.com>
Signed-off-by: Yuki Huang <yukih@nvidia.com>
Under some conditions, ray stops respecting non-kwargs arguments.
This PR supports passing args/kwargs in
run_all_workers_multiple_data
andrun_all_workers_sharded_data
, so that we can pass through kwargs instead of passing an unclear paramdata
.