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

Add error handling in case of AutocompleteStub Failure for DLIS-5819 #356

Merged
merged 6 commits into from
May 9, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/python_be.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2041,6 +2041,8 @@ ModelState::LaunchAutoCompleteStubProcess()
ex.err_ == nullptr, TRITONSERVER_ERROR_INTERNAL,
std::string("unexpected nullptr in BackendModelException"));
RETURN_IF_ERROR(ex.err_);
return TRITONSERVER_ErrorNew(
indrajit96 marked this conversation as resolved.
Show resolved Hide resolved
TRITONSERVER_ERROR_INTERNAL, TRITONSERVER_ErrorMessage(ex.err_));
}

return nullptr;
Expand Down
Loading