-
Notifications
You must be signed in to change notification settings - Fork 143
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
agent out of the setting only_run_on_ml_node #2299
Conversation
Signed-off-by: Jing Zhang <[email protected]>
@@ -73,7 +73,7 @@ public DiscoveryNode[] getEligibleNodes(FunctionName functionName) { | |||
if (excludedNodeNames != null && excludedNodeNames.contains(node.getName())) { | |||
continue; | |||
} | |||
if (functionName == FunctionName.REMOTE) {// remote model | |||
if (functionName == FunctionName.REMOTE || functionName == FunctionName.AGENT) {// remote model |
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.
[nit] update the comment as well?
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.
changed
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
Signed-off-by: Jing Zhang <[email protected]>
66905bd
* agent out of the setting only_run_on_ml_node Signed-off-by: Jing Zhang <[email protected]> * address comments Signed-off-by: Jing Zhang <[email protected]> --------- Signed-off-by: Jing Zhang <[email protected]> (cherry picked from commit e3e72f7)
* agent out of the setting only_run_on_ml_node Signed-off-by: Jing Zhang <[email protected]> * address comments Signed-off-by: Jing Zhang <[email protected]> --------- Signed-off-by: Jing Zhang <[email protected]> (cherry picked from commit e3e72f7)
* agent out of the setting only_run_on_ml_node Signed-off-by: Jing Zhang <[email protected]> * address comments Signed-off-by: Jing Zhang <[email protected]> --------- Signed-off-by: Jing Zhang <[email protected]> (cherry picked from commit e3e72f7) Co-authored-by: Jing Zhang <[email protected]>
* agent out of the setting only_run_on_ml_node Signed-off-by: Jing Zhang <[email protected]> * address comments Signed-off-by: Jing Zhang <[email protected]> --------- Signed-off-by: Jing Zhang <[email protected]> (cherry picked from commit e3e72f7) Co-authored-by: Jing Zhang <[email protected]>
Description
Take agent out of the scope of only_run_on_ml_node flag.
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.