Skip to content

Commit 69501bf

Browse files
committed
try with diff command
1 parent f063cca commit 69501bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/scripts/run_vllm_profiling.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ wait_for_server() {
5353
}
5454

5555
kill_gpu_processes() {
56-
echo "Cleaning up processes..."
57-
lsof -t -i:${PORT} | xargs -r kill -9 2>/dev/null || true
58-
pgrep -f "vllm" | xargs -r kill -9 2>/dev/null || true
59-
pgrep python3 | xargs -r kill -9 2>/dev/null || true
56+
ps -aux
57+
lsof -t -i:8000 | xargs -r kill -9
58+
pgrep python3 | xargs -r kill -9
59+
pgrep VLLM | xargs -r kill -9
6060

6161
# Wait until GPU memory usage decreases
6262
if command -v nvidia-smi; then

0 commit comments

Comments
 (0)