1
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
# 停止本地 MLX 模型服务(oMLX:chat + embedding 一体)
|
||||
# 用法: ./scripts/stop_models.sh
|
||||
if pgrep -f "[o]mlx-server" >/dev/null 2>&1; then
|
||||
pkill -f "[o]mlx-server"
|
||||
echo "[stop] oMLX 18080 (chat+embedding)"
|
||||
else
|
||||
echo "oMLX 未在运行"
|
||||
fi
|
||||
Reference in New Issue
Block a user