-
Notifications
You must be signed in to change notification settings - Fork 36
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
Adds Register and Deploy Model Step for remote model #52
Adds Register and Deploy Model Step for remote model #52
Conversation
4404633
to
353a322
Compare
fe03b92
to
0dc6655
Compare
Codecov Report
@@ Coverage Diff @@
## main #52 +/- ##
===========================================
+ Coverage 0 81.74% +81.74%
- Complexity 0 211 +211
===========================================
Files 0 21 +21
Lines 0 838 +838
Branches 0 96 +96
===========================================
+ Hits 0 685 +685
- Misses 0 119 +119
- Partials 0 34 +34
|
src/test/java/org/opensearch/flowframework/workflow/DeployModelStepTests.java
Outdated
Show resolved
Hide resolved
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.
Initial pass, still need to go over the test cases
src/main/java/org/opensearch/flowframework/FlowFrameworkPlugin.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/DeployModelStep.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/DeployModelStep.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/DeployModelStep.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/RegisterModelStep.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/RegisterModelStep.java
Outdated
Show resolved
Hide resolved
751bc0f
to
995db1e
Compare
119f4a7
to
0246a4c
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.
Looks good to me, just added a few suggestions regarding testing
src/test/java/org/opensearch/flowframework/workflow/DeployModelStepTests.java
Show resolved
Hide resolved
src/test/java/org/opensearch/flowframework/workflow/RegisterModelStepTests.java
Show resolved
Hide resolved
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
0246a4c
to
0d894bb
Compare
src/main/java/org/opensearch/flowframework/workflow/DeployModelStep.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/DeployModelStep.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/workflow/DeployModelStep.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Owais Kazi <[email protected]>
c744902
to
e0cd1cf
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.
overall lgtm! I'm also ok if you want to address the model_id
might remains null when calling deploy
action in the following pr as well :)
src/main/java/org/opensearch/flowframework/workflow/DeployModelStep.java
Show resolved
Hide resolved
* Initial UploadModel integration Signed-off-by: Owais Kazi <[email protected]> * Implemented Register Model Step Signed-off-by: Owais Kazi <[email protected]> * Integrated register for remote model Signed-off-by: Owais Kazi <[email protected]> * Integrated deploy model Signed-off-by: Owais Kazi <[email protected]> * Separated Register and Deploy Steps Signed-off-by: Owais Kazi <[email protected]> * Added tests Signed-off-by: Owais Kazi <[email protected]> * Added NodeClient Signed-off-by: Owais Kazi <[email protected]> * Added javadocs Signed-off-by: Owais Kazi <[email protected]> * Addressed PR comments Signed-off-by: Owais Kazi <[email protected]> * Addressed PR comments Signed-off-by: Owais Kazi <[email protected]> * Addressed PR comments - 2 Signed-off-by: Owais Kazi <[email protected]> * Fixed test failure Signed-off-by: Owais Kazi <[email protected]> * Addressed PR comments Signed-off-by: Owais Kazi <[email protected]> --------- Signed-off-by: Owais Kazi <[email protected]> (cherry picked from commit 9b10b23) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
) Adds Register and Deploy Model Step for remote model (#52) * Initial UploadModel integration * Implemented Register Model Step * Integrated register for remote model * Integrated deploy model * Separated Register and Deploy Steps * Added tests * Added NodeClient * Added javadocs * Addressed PR comments * Addressed PR comments * Addressed PR comments - 2 * Fixed test failure * Addressed PR comments --------- (cherry picked from commit 9b10b23) Signed-off-by: Owais Kazi <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Adds Register, Deploy Model Step for the remote model.
Also, adds GetTask step for the future work of registering a local model.
TODO:
Issues Resolved
Part of #21 and fixes #86
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.