Files
sglang/scripts/killall_sglang.sh

5 lines
223 B
Bash
Raw Normal View History

# Kill all SGLang processes and free the GPU memory.
2024-10-30 02:49:08 -07:00
kill -9 $(ps aux | grep 'multiprocessing.spawn' | grep -v 'grep' | awk '{print $2}')
kill -9 $(ps aux | grep 'sglang.launch_server' | grep -v 'grep' | awk '{print $2}')