mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-24 23:55:49 +08:00
Comment
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
parent
481e1e247a
commit
ba3e8dca97
@ -98,9 +98,9 @@ def benchmark_one_run(
|
||||
subprocess.run(benchmark_cmd, check=True)
|
||||
finally:
|
||||
if server_process.poll() is None:
|
||||
# Process might already be terminated
|
||||
# In case some processes have been terminated
|
||||
with contextlib.suppress(ProcessLookupError):
|
||||
# Kill entire process group
|
||||
# We need to kill both API Server and Engine processes
|
||||
os.killpg(os.getpgid(server_process.pid), signal.SIGKILL)
|
||||
|
||||
with result_path.open("rb") as f:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user