2024-08-05 10:33:21 +08:00
|
|
|
c:
|
|
|
|
conda activate m3mlx
|
|
|
|
|
|
|
|
cd_mlx_lm:
|
|
|
|
cd llms/mlx_lm
|
|
|
|
|
|
|
|
|
2024-07-24 11:45:37 +08:00
|
|
|
run:
|
2024-10-02 13:08:46 +08:00
|
|
|
mlx_lm.server --model mlx-community/Qwen2.5-7B-Instruct-8bit --trust-remote-code --port 8722
|
|
|
|
#mlx_lm.server --model mlx-community/Qwen2.5-14B-Instruct-8bit --trust-remote-code --port 8722
|
2024-10-02 04:20:20 +08:00
|
|
|
#mlx_lm.server --model mlx-community/gemma-2-9b-it-8bit --trust-remote-code --port 8722
|
2024-07-24 11:45:37 +08:00
|
|
|
|
|
|
|
k:
|
2024-07-25 10:55:25 +08:00
|
|
|
./kill.sh
|
2024-07-24 11:45:37 +08:00
|
|
|
|
|
|
|
w:
|
|
|
|
curl -X GET "http://127.0.0.1:9000/api/ai/WriteBlogRandomlyWithLLM?model=MLXLMServer" -H "Request-Origion:SwaggerBootstrapUi" -H "accept:*/*"
|
|
|
|
|