Skip to content

Commit dcc1e31

Browse files
authored
fix: Prevent busy wait in vLLM test_client helper
1 parent b3b8260 commit dcc1e31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/art/local/vllm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ async def test_client() -> None:
6868
async for _ in client.models.list():
6969
return
7070
except:
71-
pass
71+
await asyncio.sleep(0.1)
7272

7373
test_client_task = asyncio.create_task(test_client())
7474
try:

0 commit comments

Comments
 (0)