File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ def test_vllm_not_healthy(self):
108108 self ._assert_model_ready (True )
109109 # The 2nd infer should begin with health check failed
110110 self ._llm_infer ()
111- self ._assert_infer_exception ("vLLM engine is not healthy" )
111+ self ._assert_infer_exception ("vLLM engine is not healthy and will be unloaded " )
112112 self ._assert_model_ready (False )
113113 # The 3rd infer should have model not found
114114 self ._llm_infer ()
Original file line number Diff line number Diff line change @@ -558,7 +558,9 @@ def _check_health(self, requests):
558558 try :
559559 future .result ()
560560 except Exception as e :
561- self .logger .log_error (f"[vllm] Engine is not healthy: { e } " )
561+ self .logger .log_error (
562+ f"[vllm] Engine is not healthy and will be unloaded: { e } "
563+ )
562564 pb_utils .unload_model (self .model_config ["name" ]) # non-blocking
563565 self ._is_healthy = False
564566 if not self ._is_healthy :
You can’t perform that action at this time.
0 commit comments