-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[RLlib] Move connectors creation code to single point in RolloutWorker #29064
[RLlib] Move connectors creation code to single point in RolloutWorker #29064
Conversation
Signed-off-by: Artur Niederfahrenhorst <[email protected]>
Signed-off-by: Artur Niederfahrenhorst <[email protected]>
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.
yeah, that's right!! this is awesome!!
thanks.
can you take a look at the failed tests? test_rollout_worker looks suspicious. |
test_rollout_worker was marked as flakey and according to https://flakey-tests.ray.io/ has already been flakey. I can't reproduce an error on my side. |
Signed-off-by: Artur Niederfahrenhorst <[email protected]>
Signed-off-by: Artur Niederfahrenhorst <[email protected]>
…29185) Some PRs (e.g. #29064) only change a single file but trigger the full test suite. The reason is likely that we have a stale master head ref. By fetching the latest head, we should be able to see more accurate results here and avoid running too many tests. Signed-off-by: Kai Fricke <[email protected]>
Can it be merged? What's the remaing work here? |
No, thank you. Not a pressing change. |
Cool, removed as a blocker for branch cut. |
@@ -1905,9 +1868,24 @@ def _build_policy_map( | |||
merged_conf, | |||
) | |||
|
|||
if connectors_enabled and name in self.policy_map: | |||
create_connectors_for_policy(self.policy_map[name], policy_config) | |||
new_policy = self.policy_map[name] |
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.
_build_policy_map is called in add_policy and in init.
…ay-project#29185) Some PRs (e.g. ray-project#29064) only change a single file but trigger the full test suite. The reason is likely that we have a stale master head ref. By fetching the latest head, we should be able to see more accurate results here and avoid running too many tests. Signed-off-by: Kai Fricke <[email protected]> Signed-off-by: Weichen Xu <[email protected]>
ray-project#29064) Signed-off-by: Artur Niederfahrenhorst <[email protected]> Signed-off-by: Weichen Xu <[email protected]>
Signed-off-by: Artur Niederfahrenhorst [email protected]
Why are these changes needed?
My first connectors/filters PR had two spots to have connectors, where there should be only one ideally.
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.