This commit is contained in:
2026-08-12 12:17:36 +08:00
parent b8662138a9
commit 15830ff0df
10 changed files with 90 additions and 17 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# 停止本地 MLX 模型服务(oMLXchat + 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