mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-24 08:22:07 +00:00
feat(trtllm): rewrite health to not account for current state
This commit is contained in:
parent
18b473b019
commit
04c6f51258
@ -387,9 +387,7 @@ impl Backend for TensorRtLlmBackendV2 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn health(&self, current_health: bool) -> bool {
|
async fn health(&self, _: bool) -> bool {
|
||||||
current_health
|
!self.executor_looper.is_finished() & !self.post_processor_looper.is_finished()
|
||||||
& !self.executor_looper.is_finished()
|
|
||||||
& !self.post_processor_looper.is_finished()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user