minicpm5-deploy-lmstudio
하는 일
이 스킬은 채팅 화면이 있는 데스크톱 앱 LM Studio에서 MiniCPM5를 실행하도록 AI를 안내합니다. 코딩 없이 쓸 수 있는 채팅 앱을 원하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓코드를 쓰지 않고 MiniCPM5를 쓸 데스크톱 채팅 앱을 원할 때.
- ✓Apple Silicon Mac을 쓰고 있고 LM Studio에서 더 빠른 MLX 런타임을 쓰고 싶을 때.
- ✓LM Studio의 로컬 서버가 다른 앱의 요청에 응답하게 하고 싶은 경우.
스킬 링크
https://github.com/OpenBMB/MiniCPM/blob/main/skills/minicpm5-deploy-lmstudio/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Mac에서 채팅할 수 있도록 LM Studio에 MiniCPM5를 설정해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 LM Studio를 설치하고, GGUF 또는 MLX 형식의 모델 파일을 불러오고, 로컬 서버를 시작한 뒤 모델이 답하는지 확인합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Deploy MiniCPM5-1B and MiniCPM5-2B with LM Studio
Desktop GUI + OpenAI-compatible local server. On Apple Silicon ships two runtimes:
| Runtime | Format | When to use |
|---|---|---|
| GGUF (llama.cpp engine) | F16 / Q8_0 / Q4_K_M | cross-platform, same artifact as Ollama; Q4_K_M build |
| MLX (Apple Silicon only) | bf16 / 4-bit | ~60 % faster, automatic think/answer split via reasoning_content; Q4 build |
Required input
| Var | Example | Default |
|---|---|---|
| Runtime | gguf or mlx |
mlx on Apple Silicon, gguf elsewhere |
QUANT |
Q4_K_M (GGUF) or 4bit (MLX) |
Q4_K_M / 4bit |
MODEL_NAME |
minicpm5-2b |
minicpm5-2b |
Steps
1. Install LM Studio + complete onboarding
brew install --cask lm-studio
open -a "LM Studio" # accept EULA + pick model source
⚠️ The first launch MUST be GUI —
lms(CLI) refuses withCannot find LM Studio installationuntil LM Studio has run interactively at least once.
2A. GGUF runtime path
mkdir -p ~/.lmstudio/models/openbmb/MiniCPM5-2B-GGUF
huggingface-cli download openbmb/MiniCPM5-2B-GGUF MiniCPM5-2B-${QUANT}.gguf \
--local-dir ~/.lmstudio/models/openbmb/MiniCPM5-2B-GGUF/
LMS="/Applications/LM Studio.app/Contents/Resources/app/.webpack/lms"
"$LMS" server start # binds 127.0.0.1:1234
"$LMS" load minicpm5-2b --gpu max --context-length 8192 -y
"$LMS" ps # verify the model is loaded
2B. MLX runtime path (Apple Silicon, recommended on Mac)
The MLX runtime needs an MLX-format checkpoint. The published MiniCPM5-2B MLX repo is openbmb/MiniCPM5-2B-MLX (4-bit affine); there is no separate -bf16 / -4bit variant. Either drop that one in as-is, or convert locally from openbmb/MiniCPM5-2B (see minicpm5-deploy-mlx). Then:
# Option A — use the official pre-quantized repo
huggingface-cli download openbmb/MiniCPM5-2B-MLX \
--local-dir ~/.lmstudio/models/openbmb/MiniCPM5-2B-MLX
# Option B — drop a locally converted directory in
mkdir -p ~/.lmstudio/models/openbmb/MiniCPM5-2B-MLX-${QUANT}
cp -r ./minicpm5-mlx-${QUANT}/* ~/.lmstudio/models/openbmb/MiniCPM5-2B-MLX-${QUANT}/
"$LMS" server start
"$LMS" load minicpm5-2b-mlx${QUANT:+-${QUANT}} --gpu max -y
3. Validate
curl http://127.0.0.1:1234/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "minicpm5-2b",
"messages": [{"role":"user","content":"1+1=?"}],
"temperature": 1.0, "top_p": 0.95, "max_tokens": 64
}'
Expected: "2" in the reply.
For the MLX runtime, a think prompt produces output split into message.reasoning_content (the <think> block) and message.content (the final answer) automatically — that's an MLX-runtime feature, not a model setting.
Think vs nothink (MiniCPM5-1B)
LM Studio 0.4.13's chat-completion endpoint does not propagate chat_template_kwargs.enable_thinking to the GGUF runtime. Instead:
- Default = think mode for both runtimes.
- For nothink with the GGUF runtime, prepend the closing think block manually:
and the model continues from there."messages": [ {"role":"user","content":"1+1=?"}, {"role":"assistant","content":"<think>\n\n</think>\n\n"} ] - MLX runtime: think/answer are auto-split, you don't need to do anything.
Common pitfalls
- MLX runtime not available: only on Apple Silicon. On Intel Mac / Windows / Linux LM Studio, only the GGUF runtime works.
When NOT to use
- Just want CLI / scripted runs →
minicpm5-deploy-ollamais leaner - Production server →
minicpm5-deploy-vllm - No GUI desired →
minicpm5-deploy-llama-cpp(llama-server)
Reference
자주 묻는 질문
여기서 GGUF와 MLX의 차이는 무엇인가요?
GGUF는 여러 시스템에서 작동하는 반면, MLX는 Apple Silicon Mac 전용이며 더 빠르다고 설명합니다.
LM Studio를 먼저 열어야 하는 이유는 무엇인가요?
명령줄 도구가 앱이 한 번 실행되어 있어야 하므로, 처음 실행은 앱 창에서 해야 한다고 이 스킬은 경고합니다.
로컬 서버를 시작하나요?
네. 사용자의 컴퓨터에서 OpenAI 호환 서버를 시작합니다.
상세 정보
작성자의 원본 설명
Run MiniCPM5-1B or MiniCPM5-2B in LM Studio (desktop GUI) using either the GGUF runtime (cross-platform) or the MLX runtime (Apple Silicon, faster). Includes OpenAI-compatible local server. Use when the user mentions "LM Studio", desktop GUI inference, "lms" CLI, or wants a no-code chat UI for MiniCPM5.
repo: OpenBMB/MiniCPM
인기도
- GitHub 스타
- 12k
- 순위
- #11532
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 9. 21.
댓글
- …
이 저장소의 다른 스킬
minicpm5-deploy-litert
12k에이전트가 Google의 LiteRT-LM 런타임과 하나의 모델 파일로 컴퓨터나 Android 휴대폰에서 MiniCPM5 모델을 실행하도록 돕습니다.
minicpm5-deploy-llama-cpp
12k에이전트에게 llama.cpp와 미리 만들어진 GGUF 파일로 CPU나 가정용 그래픽 카드에서 MiniCPM5 모델을 실행하는 방법을 보여 줍니다.
minicpm5-deploy-mlx
12k에이전트가 Apple의 MLX 프레임워크로 Apple Silicon Mac에서 MiniCPM5 모델을 직접 실행해, 빠른 로컬 채팅과 텍스트 생성을 하도록 돕습니다.
minicpm5-deploy-ollama
12k에이전트에게 GGUF 파일과 몇 가지 간단한 명령으로 Mac 또는 Linux 노트북에서 Ollama로 MiniCPM5를 실행하는 방법을 가르칩니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.