Skip to content

kill subprocesses when server process is stopped#39

Merged
NinaCai merged 2 commits into
mainfrom
nina-subprocess
May 14, 2026
Merged

kill subprocesses when server process is stopped#39
NinaCai merged 2 commits into
mainfrom
nina-subprocess

Conversation

@NinaCai
Copy link
Copy Markdown
Collaborator

@NinaCai NinaCai commented May 13, 2026

When tpu server or cpu server gets stopped, the subprocesses started by them should be killed too.

  • Add hitl_eval_ prefix to the script to run for tpu server and cpu server.
  • When stopping tpu or cpu server, the subprocesses will be killed too. This change applies to both setup.sh for manual stopping servers and server_manager_mixin for auto-stopping servers.
  • In autotune_tool.py, when timeout, also stop tpu server, cpu server and the subprocesses.

@NinaCai NinaCai requested a review from shangkunwang01 May 13, 2026 15:57
Comment thread MaxKernel/hitl_agent/subagents/autotuning/autotune_tool.py
Comment thread MaxKernel/hitl_agent/server_utils/cpu_server.py
@NinaCai NinaCai requested a review from shangkunwang01 May 14, 2026 15:13
@NinaCai NinaCai merged commit 1815c6f into main May 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants