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

tune model config: change pooling mode to optional #724

Merged
merged 1 commit into from
Feb 6, 2023

Conversation

ylwu-amzn
Copy link
Collaborator

Signed-off-by: Yaliang Wu [email protected]

Description

[Describe what this change achieves]

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.

@ylwu-amzn ylwu-amzn requested a review from a team February 6, 2023 21:08
@codecov-commenter
Copy link

Codecov Report

Merging #724 (b4e912f) into 2.x (50116bb) will not change coverage.
The diff coverage is 0.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff            @@
##                2.x     #724   +/-   ##
=========================================
  Coverage     84.95%   84.95%           
  Complexity     1076     1076           
=========================================
  Files           100      100           
  Lines          3922     3922           
  Branches        370      370           
=========================================
  Hits           3332     3332           
  Misses          433      433           
  Partials        157      157           
Flag Coverage Δ
ml-commons 84.95% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...n/java/org/opensearch/ml/model/MLModelManager.java 78.60% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ylwu-amzn ylwu-amzn merged commit ffb8a4e into opensearch-project:2.x Feb 6, 2023
ylwu-amzn added a commit to ylwu-amzn/ml-commons that referenced this pull request Feb 17, 2023
model-collapse pushed a commit that referenced this pull request Feb 20, 2023
…in (#711)

* [wjunshen] #N/A feat: fix after the latest rebase

Signed-off-by: wujunshen <[email protected]>

* [wjunshen] #N/A feat: fix after rebase

Signed-off-by: wujunshen <[email protected]>

* [wjunshen] #N/A feat: fix after rebase

Signed-off-by: wujunshen <[email protected]>

* [wjunshen] #N/A feat: fix after rebase

Signed-off-by: wujunshen <[email protected]>

* [wjunshen] #N/A feat: fix after the latest rebase

Signed-off-by: wujunshen <[email protected]>

* Increment version to 2.6.0-SNAPSHOT (#671)

Signed-off-by: opensearch-ci-bot <[email protected]>

Signed-off-by: opensearch-ci-bot <[email protected]>
Co-authored-by: opensearch-ci-bot <[email protected]>
Signed-off-by: wujunshen <[email protected]>

* fix profile API in example doc (#712)

Signed-off-by: Yaliang Wu <[email protected]>

Signed-off-by: Yaliang Wu <[email protected]>
Signed-off-by: wujunshen <[email protected]>

* change model url to public repo in text embedding model example doc (#713)

Signed-off-by: Yaliang Wu <[email protected]>

Signed-off-by: Yaliang Wu <[email protected]>
Signed-off-by: wujunshen <[email protected]>

* Enhance profile API to add model centric result controlled by view parameter (#714)

* Enhance profile API to add model centric result controled by view paramter

Signed-off-by: Zan Niu <[email protected]>

* Enhance profile API to add model centric result controled by view parameter

Signed-off-by: Zan Niu <[email protected]>

* Enhance profile API to add model centric result controled by view parameter

Signed-off-by: Zan Niu <[email protected]>

---------

Signed-off-by: Zan Niu <[email protected]>
Signed-off-by: wujunshen <[email protected]>

* add planning work nodes to model (#715)

* add planning work nodes to model

Signed-off-by: Yaliang Wu <[email protected]>

* add test

Signed-off-by: Yaliang Wu <[email protected]>

---------

Signed-off-by: Yaliang Wu <[email protected]>
Signed-off-by: wujunshen <[email protected]>

* skip running syncup job if no model index (#717)

Signed-off-by: Yaliang Wu <[email protected]>
Signed-off-by: wujunshen <[email protected]>

* refactor: add DL model class (#722)

* refactor: add DL model class

Signed-off-by: Yaliang Wu <[email protected]>

* fix model url in example doc

Signed-off-by: Yaliang Wu <[email protected]>

* address comments

Signed-off-by: Yaliang Wu <[email protected]>

* fix failed ut

Signed-off-by: Yaliang Wu <[email protected]>

---------

Signed-off-by: Yaliang Wu <[email protected]>
Signed-off-by: wujunshen <[email protected]>

* tune model config: change pooling mode to optional (#724)

Signed-off-by: Yaliang Wu <[email protected]>
Signed-off-by: wujunshen <[email protected]>

* [wjunshen] #N/A feat: make the log readable

Signed-off-by: wujunshen <[email protected]>

* [wjunshen] #N/A feat: add error log

Signed-off-by: wujunshen <[email protected]>

* [wjunshen] #N/A feat: Refer to PR #717,just checking if index exists in cluster metadata

Signed-off-by: wujunshen <[email protected]>

* [wjunshen] #N/A feat: change RunTimeException to MLException

Signed-off-by: wujunshen <[email protected]>

* [wjunshen] #N/A feat: also consider COMPLETED_WITH_ERROR

Signed-off-by: wujunshen <[email protected]>

* [wjunshen] #N/A feat: remove ML_MODEL_RELOAD_MAX_RETRY_TIMES in CommonValue.java

Signed-off-by: wujunshen <[email protected]>

* [wjunshen] #N/A feat: remove Result class

Signed-off-by: wujunshen <[email protected]>

* [wjunshen] #N/A feat: change "reload" and "retry" to a full word

Signed-off-by: wujunshen <[email protected]>

* [wjunshen] #N/A feat: change log info sentence

Signed-off-by: wujunshen <[email protected]>

* [wjunshen] #N/A feat: code format

Signed-off-by: wujunshen <[email protected]>

* [Signed-off-by: wjunshen<[email protected]>] #N/A feat:
1. Let the collection just have all ids of ml node
2. print out full exception stack trace

Signed-off-by: wujunshen <[email protected]>

* [Signed-off-by: wjunshen<[email protected]>] #N/A feat:
use LOAD_THREAD_POOL to replace generic

Signed-off-by: wujunshen <[email protected]>

* [Signed-off-by: wjunshen<[email protected]>] #N/A feat:
print the whole exception stack

Signed-off-by: wujunshen <[email protected]>

* [Signed-off-by: wjunshen<[email protected]>] #N/A feat:
change the IndexNotFoundException to MLException

Signed-off-by: wujunshen <[email protected]>

* [Signed-off-by: wjunshen<[email protected]>] #N/A feat:
add logs when receiving indexRequestBuilder.execute exception

Signed-off-by: wujunshen <[email protected]>

* [Signed-off-by: wjunshen<[email protected]>] #N/A feat:
change the test code after code review

Signed-off-by: wujunshen <[email protected]>

---------

Signed-off-by: wujunshen <[email protected]>
Signed-off-by: opensearch-ci-bot <[email protected]>
Signed-off-by: Yaliang Wu <[email protected]>
Signed-off-by: Zan Niu <[email protected]>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: opensearch-ci-bot <[email protected]>
Co-authored-by: Yaliang Wu <[email protected]>
Co-authored-by: zane-neo <[email protected]>
ylwu-amzn added a commit to ylwu-amzn/ml-commons that referenced this pull request Mar 3, 2023
ylwu-amzn added a commit to ylwu-amzn/ml-commons that referenced this pull request Mar 4, 2023
ylwu-amzn added a commit that referenced this pull request Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants