[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
487ea4f5b9
commit
99873237a1
1 changed files with 3 additions and 2 deletions
|
|
@ -297,8 +297,9 @@ class SyntheticDataKit:
|
|||
ready = False
|
||||
deadline = time.monotonic() + (timeout or 1200)
|
||||
while time.monotonic() < deadline:
|
||||
if self.stdout_capture.wait_for_ready(timeout = 1) or \
|
||||
self.stderr_capture.wait_for_ready(timeout = 0):
|
||||
if self.stdout_capture.wait_for_ready(timeout = 1) or self.stderr_capture.wait_for_ready(
|
||||
timeout = 0
|
||||
):
|
||||
ready = True
|
||||
break
|
||||
if self.vllm_process.poll() is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue