-
Notifications
You must be signed in to change notification settings - Fork 138
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
adding model level metric in node level #1330
Conversation
CI failed |
|
||
@Override | ||
public void writeTo(StreamOutput out) throws IOException { | ||
if (modelStats != null && modelStats.size() > 0) { |
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.
Missed out.writeBoolean(true)
? Also fix public MLModelStats(StreamInput in)
?
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.
Sorry for the confusion. I didn't clearly understand your comment. This class is pretty much similar to this class
Signed-off-by: Dhrubo Saha <[email protected]>
* adding model level metric in node level Signed-off-by: Dhrubo Saha <[email protected]> * spotlessApply and fixed a test Signed-off-by: Dhrubo Saha <[email protected]> * added if clause to bypass the integration test Signed-off-by: Dhrubo Saha <[email protected]> * addressing comments Signed-off-by: Dhrubo Saha <[email protected]> * addressed comments Signed-off-by: Dhrubo Saha <[email protected]> * add more tests Signed-off-by: Dhrubo Saha <[email protected]> * adding boolean check if model stats exists Signed-off-by: Dhrubo Saha <[email protected]> --------- Signed-off-by: Dhrubo Saha <[email protected]> (cherry picked from commit bb84282)
* adding model level metric in node level Signed-off-by: Dhrubo Saha <[email protected]> * spotlessApply and fixed a test Signed-off-by: Dhrubo Saha <[email protected]> * added if clause to bypass the integration test Signed-off-by: Dhrubo Saha <[email protected]> * addressing comments Signed-off-by: Dhrubo Saha <[email protected]> * addressed comments Signed-off-by: Dhrubo Saha <[email protected]> * add more tests Signed-off-by: Dhrubo Saha <[email protected]> * adding boolean check if model stats exists Signed-off-by: Dhrubo Saha <[email protected]> --------- Signed-off-by: Dhrubo Saha <[email protected]> (cherry picked from commit bb84282) Co-authored-by: Dhrubo Saha <[email protected]>
…ensearch-project#1522) * adding model level metric in node level Signed-off-by: Dhrubo Saha <[email protected]> * spotlessApply and fixed a test Signed-off-by: Dhrubo Saha <[email protected]> * added if clause to bypass the integration test Signed-off-by: Dhrubo Saha <[email protected]> * addressing comments Signed-off-by: Dhrubo Saha <[email protected]> * addressed comments Signed-off-by: Dhrubo Saha <[email protected]> * add more tests Signed-off-by: Dhrubo Saha <[email protected]> * adding boolean check if model stats exists Signed-off-by: Dhrubo Saha <[email protected]> --------- Signed-off-by: Dhrubo Saha <[email protected]> (cherry picked from commit bb84282) Co-authored-by: Dhrubo Saha <[email protected]> Signed-off-by: TrungBui59 <[email protected]>
…ensearch-project#1522) * adding model level metric in node level Signed-off-by: Dhrubo Saha <[email protected]> * spotlessApply and fixed a test Signed-off-by: Dhrubo Saha <[email protected]> * added if clause to bypass the integration test Signed-off-by: Dhrubo Saha <[email protected]> * addressing comments Signed-off-by: Dhrubo Saha <[email protected]> * addressed comments Signed-off-by: Dhrubo Saha <[email protected]> * add more tests Signed-off-by: Dhrubo Saha <[email protected]> * adding boolean check if model stats exists Signed-off-by: Dhrubo Saha <[email protected]> --------- Signed-off-by: Dhrubo Saha <[email protected]> (cherry picked from commit bb84282) Co-authored-by: Dhrubo Saha <[email protected]>
Description
[adding model level metric in node level : https://github.com//issues/1295
With this change stat api will show metrics like:
]
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.