Unverified Commit ee9a1531 authored by Isotr0py's avatar Isotr0py Committed by GitHub
Browse files

[CI/Build][Bugfix] Fix deadlock on v1 engine test CI (#19872)


Signed-off-by: default avatarIsotr0py <2037008807@qq.com>
parent 10d82f9a
...@@ -383,6 +383,7 @@ async def test_check_health(monkeypatch: pytest.MonkeyPatch): ...@@ -383,6 +383,7 @@ async def test_check_health(monkeypatch: pytest.MonkeyPatch):
with monkeypatch.context() as m, ExitStack() as after: with monkeypatch.context() as m, ExitStack() as after:
m.setenv("VLLM_USE_V1", "1") m.setenv("VLLM_USE_V1", "1")
with set_default_torch_num_threads(1):
engine = AsyncLLM.from_engine_args(TEXT_ENGINE_ARGS) engine = AsyncLLM.from_engine_args(TEXT_ENGINE_ARGS)
after.callback(engine.shutdown) after.callback(engine.shutdown)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment