This commit is contained in:
CakeCN
2024-12-03 16:21:19 +08:00
commit 4198ca63b1
975 changed files with 333413 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#!/bin/bash
if [ ! -f .vllm_pid ]; then
echo "PID file not found. Are the servers running?"
exit 1
fi
while read pid; do
kill -9 $pid
if [ $? -eq 0 ]; then
echo "Killed vllm server with PID $pid"
else
echo "Failed to kill vllm server with PID $pid"
fi
done < .vllm_pid
rm .vllm_pid
echo "All vllm servers stopped."