Skip to content
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

Merged
merged 2 commits into from
Apr 8, 2024

Conversation

jngz-es
Copy link
Collaborator

@jngz-es jngz-es commented Apr 8, 2024

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

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

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.

b4sjoo
b4sjoo previously approved these changes Apr 8, 2024
@@ -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
Copy link
Collaborator

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed

ylwu-amzn
ylwu-amzn previously approved these changes Apr 8, 2024
Copy link
Collaborator

@ylwu-amzn ylwu-amzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Zhangxunmt
Zhangxunmt previously approved these changes Apr 8, 2024
Signed-off-by: Jing Zhang <[email protected]>
@jngz-es jngz-es dismissed stale reviews from Zhangxunmt, ylwu-amzn, and b4sjoo via 66905bd April 8, 2024 18:54
@jngz-es jngz-es temporarily deployed to ml-commons-cicd-env April 8, 2024 18:54 — with GitHub Actions Inactive
@jngz-es jngz-es temporarily deployed to ml-commons-cicd-env April 8, 2024 18:54 — with GitHub Actions Inactive
@jngz-es jngz-es temporarily deployed to ml-commons-cicd-env April 8, 2024 18:54 — with GitHub Actions Inactive
@jngz-es jngz-es temporarily deployed to ml-commons-cicd-env April 8, 2024 18:55 — with GitHub Actions Inactive
@jngz-es jngz-es temporarily deployed to ml-commons-cicd-env April 8, 2024 18:55 — with GitHub Actions Inactive
@jngz-es jngz-es temporarily deployed to ml-commons-cicd-env April 8, 2024 18:55 — with GitHub Actions Inactive
@jngz-es jngz-es merged commit e3e72f7 into opensearch-project:main Apr 8, 2024
9 checks passed
@jngz-es jngz-es deleted the agent_on_ml_node branch April 8, 2024 19:26
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 8, 2024
* 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)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 8, 2024
* 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)
jngz-es added a commit that referenced this pull request Apr 8, 2024
* 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]>
jngz-es added a commit that referenced this pull request Apr 8, 2024
* 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]>
@jngz-es jngz-es temporarily deployed to ml-commons-cicd-env April 8, 2024 19:43 — with GitHub Actions Inactive
@jngz-es jngz-es temporarily deployed to ml-commons-cicd-env April 8, 2024 19:43 — with GitHub Actions Inactive
@jngz-es jngz-es temporarily deployed to ml-commons-cicd-env April 8, 2024 19:43 — with GitHub Actions Inactive
@mingshl mingshl added the enhancement New feature or request label Apr 30, 2024
@ylwu-amzn ylwu-amzn mentioned this pull request May 1, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants