测试llm_api_shutdown.py,通过

This commit is contained in:
hzg0601 2023-08-10 09:38:45 +08:00
parent 6019671080
commit 6c2b2b7ba2
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ parser.add_argument("--serve",choices=["all","controller","model_worker","openai
args = parser.parse_args() args = parser.parse_args()
base_shell = "ps -eo user,pid,cmd|grep fastchat.serve{}|grep -v grep|awk '{print $2}'|xargs kill -9" base_shell = "ps -eo user,pid,cmd|grep fastchat.serve{}|grep -v grep|awk '{{print $2}}'|xargs kill -9"
if args.serve == "all": if args.serve == "all":
shell_script = base_shell.format("") shell_script = base_shell.format("")