Skip to content

Commit ceba923

Browse files
Isotr0pyjuncheoll
authored andcommitted
[CI/Build][Bugfix] Fix deadlock on v1 engine test CI (vllm-project#19872)
Signed-off-by: Isotr0py <2037008807@qq.com> Signed-off-by: juncheoll <th6re8e@naver.com>
1 parent e41545a commit ceba923

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/v1/engine/test_async_llm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ async def test_check_health(monkeypatch: pytest.MonkeyPatch):
383383
with monkeypatch.context() as m, ExitStack() as after:
384384
m.setenv("VLLM_USE_V1", "1")
385385

386-
engine = AsyncLLM.from_engine_args(TEXT_ENGINE_ARGS)
386+
with set_default_torch_num_threads(1):
387+
engine = AsyncLLM.from_engine_args(TEXT_ENGINE_ARGS)
387388
after.callback(engine.shutdown)
388389

389390
# Test 1: Healthy engine should not raise any exception

0 commit comments

Comments
 (0)