-
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 <dhrubo@amazon.com>
* adding model level metric in node level Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * spotlessApply and fixed a test Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * added if clause to bypass the integration test Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * addressing comments Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * addressed comments Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * add more tests Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * adding boolean check if model stats exists Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> --------- Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> (cherry picked from commit bb84282)
* adding model level metric in node level Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * spotlessApply and fixed a test Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * added if clause to bypass the integration test Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * addressing comments Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * addressed comments Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * add more tests Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * adding boolean check if model stats exists Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> --------- Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> (cherry picked from commit bb84282) Co-authored-by: Dhrubo Saha <dhrubo@amazon.com>
…ensearch-project#1522) * adding model level metric in node level Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * spotlessApply and fixed a test Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * added if clause to bypass the integration test Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * addressing comments Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * addressed comments Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * add more tests Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * adding boolean check if model stats exists Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> --------- Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> (cherry picked from commit bb84282) Co-authored-by: Dhrubo Saha <dhrubo@amazon.com> Signed-off-by: TrungBui59 <bui23@purdue.edu>
…ensearch-project#1522) * adding model level metric in node level Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * spotlessApply and fixed a test Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * added if clause to bypass the integration test Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * addressing comments Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * addressed comments Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * add more tests Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * adding boolean check if model stats exists Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> --------- Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> (cherry picked from commit bb84282) Co-authored-by: Dhrubo Saha <dhrubo@amazon.com>
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.