Skip to content

Commit dd066f3

Browse files
committed
Update
1 parent 30a0f99 commit dd066f3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/python_be.cc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2427,17 +2427,18 @@ TRITONBACKEND_ModelInstanceReady(TRITONBACKEND_ModelInstance* instance)
24272427
// Check if the stub process is running
24282428
if (!instance_state->Stub()->StubActive()) {
24292429
return TRITONSERVER_ErrorNew(
2430-
TRITONSERVER_ERROR_INTERNAL, (std::string("Stub process '") +
2431-
instance_state->Name() + "' is not alive")
2432-
.c_str());
2430+
TRITONSERVER_ERROR_INTERNAL,
2431+
(std::string("Stub process '") + instance_state->Name() +
2432+
"' is not healthy.")
2433+
.c_str());
24332434
}
24342435

24352436
// Check if the stub process is responsive
24362437
if (!instance_state->IsStubProcessAlive()) {
24372438
return TRITONSERVER_ErrorNew(
24382439
TRITONSERVER_ERROR_INTERNAL,
24392440
(std::string("Stub process '") + instance_state->Name() +
2440-
"' is not healthy (unresponsive).")
2441+
"' is not healthy.")
24412442
.c_str());
24422443
}
24432444

0 commit comments

Comments
 (0)