-
Notifications
You must be signed in to change notification settings - Fork 835
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
Updating inference logic to add node level request-response logging #3874
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
//Log Request | ||
if node.Logger != nil && (node.Logger.Mode == v1.LogRequest || node.Logger.Mode == v1.LogAll) { | ||
err := p.logPayload(node.Name, node.Logger, payloadLogger.InferenceRequest, msg, puid) | ||
if err != nil { | ||
return nil, err | ||
} |
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.
I'm not a fan of logging inside transformInput
. It is not clear from the Predict
function where transformInput
is called that the message may or may not be logged.
edit; unfortunately, due to the way the code has been structured, this is the easiest way to do what's needed because the callTransformInput
and callModel
flags are determined in here.
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.
Yeah I also tried structuring the code in a different manner to start with but this seemed easiest considering other aspects of the implementation.
/test integration |
/test notebooks |
/test integration |
logs of integration tests are quite confusing, it is not clear if there was an actual failure or not
if it was, it could have been on |
Actually, I also see failure on Triggered tests again anyway to rule out flakiness first |
/test integration |
The |
What this PR does / why we need it:
This PR corrects the paylod logging mechanism in seldon executor for logging node level request-response pairs in complex inference graphs
Which issue(s) this PR fixes:
Fixes #3873