mlx_lm.server --model mlx-community/Mistral-Nemo-Instruct-2407-8bit --trust-remote-code --port 8722

This commit is contained in:
chenguangjian.jk 2024-07-25 10:55:25 +08:00
parent c656c927dc
commit c1f89c4417
2 changed files with 3 additions and 2 deletions

View File

@ -1,9 +1,8 @@
run:
#mlx_lm.server --model mlx-community/Meta-Llama-3.1-8B-Instruct-8bit --trust-remote-code --port 8722
mlx_lm.server --model mlx-community/Mistral-Nemo-Instruct-2407-8bit --trust-remote-code --port 8722
k:
ps -ef|grep 'mlx_lm.server'|awk '{print $2}'|xargs kill -9
./kill.sh
w:
curl -X GET "http://127.0.0.1:9000/api/ai/WriteBlogRandomlyWithLLM?model=MLXLMServer" -H "Request-Origion:SwaggerBootstrapUi" -H "accept:*/*"

2
llms/mlx_lm/kill.sh Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env bash
ps -ef|grep 'mlx_lm.server'|awk '{print $2}'|xargs kill -9