update server

This commit is contained in:
hzg0601 2023-08-09 23:18:44 +08:00
parent 34bb681db1
commit 3e9d088cd9
5 changed files with 2 additions and 5 deletions

View File

@ -23,4 +23,5 @@ else:
serve = f".{args.serve}"
shell_script = base_shell.format(serve)
subprocess.run(shell_script,shell=True,check=True)
subprocess.run(shell_script,shell=True,check=True)
print(f"llm api sever --{args.serve} has been shutdown!")

View File

@ -1 +0,0 @@
ps -eo user,pid,cmd|grep fastchat|grep -v grep|awk '{print $2}'|xargs kill -9

View File

@ -1 +0,0 @@
ps -eo user,pid,cmd|grep fastchat.serve.controller|grep -v grep|awk '{print $2}'|xargs kill -9

View File

@ -1 +0,0 @@
ps -eo user,pid,cmd|grep fastchat.serve.openai_api_server|grep -v grep|awk '{print $2}'|xargs kill -9

View File

@ -1 +0,0 @@
ps -eo user,pid,cmd|grep fastchat.serve.model_worker|grep -v grep|awk '{print $2}'|xargs kill -9