mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-26 17:13:09 +00:00
added health check flag to skip entirely
This commit is contained in:
parent
f84934363c
commit
c05d9f7f53
3 changed files with 34 additions and 13 deletions
|
|
@ -28,7 +28,9 @@ class TrlVllmServer(APIServer):
|
|||
self.tokenizer = AutoTokenizer.from_pretrained(config.model_name)
|
||||
super().__init__(config)
|
||||
|
||||
async def check_server_status_task(self, chat_completion: bool = True):
|
||||
async def check_server_status_task(
|
||||
self, chat_completion: bool = True, skip_check: bool = False
|
||||
):
|
||||
"""
|
||||
TODO: Implement server health check for trl's vLLM server
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue