minicpm5-deploy
できること
このスキルは、ハードウェアと目的に基づいてMiniCPM5モデルを動かす最適な方法をAIが選び、対応する設定ガイドを示します。MiniCPM5を使いたいものの、どのツールを使うかまだ決めていない人に向けたものです。
使う場面
- ✓MiniCPM5モデルを動かしたいが、まだツールを選んでいないとき。
- ✓MiniCPM5をノートパソコン、GPUサーバー、スマートフォンのどれで動かすべきか知りたいとき。
- ✓MiniCPM5モデルを提供、チャット、またはベンチマークするようAIに頼むとき。
スキルのリンク
https://github.com/OpenBMB/MiniCPM/blob/main/skills/minicpm5-deploy/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ノートパソコンでMiniCPM5を動かすには、どの方法がよいですか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、モデル、ハードウェア、目的を尋ねたうえで、vLLM、Ollama、MLXなどのバックエンドガイドを一つ選び、そのガイドに従います。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Deploy MiniCPM5-1B and MiniCPM5-2B — backend router
You're being asked to deploy / serve / chat-with a MiniCPM5-1B or MiniCPM5-2B checkpoint. Your job is to pick exactly one backend skill below based on the user's hardware, format, and goal, then invoke that skill rather than improvising.
1. Required input from the user
Before picking a backend, you MUST know:
| Variable | Example | Where to ask |
|---|---|---|
MODEL_PATH |
HF id openbmb/MiniCPM5-2B or openbmb/MiniCPM5-1B or a local path |
"Which checkpoint? HF id or local path?" |
| Hardware | NVIDIA GPU / Apple Silicon / CPU only | infer from context, otherwise ask |
| Goal | "interactive chat" / "OpenAI server" / "Python script" / "benchmark" | infer from context |
Available checkpoints on Hugging Face
| Variant | HF repo | Use with |
|---|---|---|
| HF fp16 (recommended) | openbmb/MiniCPM5-2B or openbmb/MiniCPM5-1B |
transformers / vllm (no --quantization) / vllm-ascend / sglang / any minicpm5-finetune-* |
| GGUF F16 / Q8_0 / Q4_K_M | openbmb/MiniCPM5-2B-GGUF or openbmb/MiniCPM5-1B-GGUF |
minicpm5-deploy-llama-cpp / -ollama / -lmstudio |
| MLX (Apple Silicon) | openbmb/MiniCPM5-2B-MLX or openbmb/MiniCPM5-1B-MLX |
minicpm5-deploy-mlx |
LiteRT-LM .litertlm (Android / iOS / desktop / IoT, CPU + GPU) |
litert-community/MiniCPM5-2B or litert-community/MiniCPM5-1B |
minicpm5-deploy-litert |
If the user has a local copy, accept any directory path that contains config.json and model.safetensors (or the equivalent GGUF / MLX layout).
2. Decision matrix — pick exactly one
| User says / wants | Hardware | Format | → Skill to invoke |
|---|---|---|---|
| "Quick Python script" / "one-shot generation" / "no server" | any GPU or CPU | HF safetensors | minicpm5-deploy-transformers |
| "OpenAI server" / "production serving" / "high QPS" | NVIDIA GPU | HF safetensors | minicpm5-deploy-vllm |
| "vLLM-Ascend" / "Ascend NPU" / "CANN" / "torch_npu" | Huawei Ascend NPU | HF safetensors | minicpm5-deploy-vllm-ascend |
| "RadixAttention" / "prefix cache" / "batched eval" | NVIDIA GPU | HF safetensors | minicpm5-deploy-sglang |
| "GGUF" / "llama.cpp" / "llama-cli" / "CPU only" | any CPU + optional GPU | GGUF | minicpm5-deploy-llama-cpp |
| "Ollama" / "ollama run" / "Modelfile" | macOS / Linux laptop | GGUF | minicpm5-deploy-ollama |
| "LM Studio" / "desktop GUI" | macOS / Windows / Linux | GGUF or MLX | minicpm5-deploy-lmstudio |
| "MLX" / "Apple Silicon native" / "fastest on Mac" | Apple Silicon | MLX | minicpm5-deploy-mlx |
| "Android" / "on-device app" / "Edge Gallery" / "LiteRT" / "LiteRT-LM" / "litertlm" / "Raspberry Pi" | Android phone, iPhone, desktop or IoT board (CPU or GPU) | LiteRT-LM .litertlm |
minicpm5-deploy-litert |
If the user has not specified any of the above and asks "how do I run this?":
- CUDA box, want fastest server: pick
minicpm5-deploy-vllm. - Ascend NPU, want an OpenAI-compatible server: pick
minicpm5-deploy-vllm-ascend. - CUDA box, want minimal Python: pick
minicpm5-deploy-transformers. - Apple Silicon laptop: pick
minicpm5-deploy-ollama(easiest) orminicpm5-deploy-mlx(fastest). - Android phone, or an on-device app (Android / iOS): pick
minicpm5-deploy-litert. - CPU only / Windows / low-VRAM: pick
minicpm5-deploy-llama-cpp(Q4_K_M).
3. Invocation contract
Once you've picked a backend skill, invoke that skill with MODEL_PATH set. Do NOT inline the backend's commands here — each backend has its own pitfalls (mandatory flags, env-var pins, install order) that the dedicated skill handles. The user explicitly does NOT want you to "improvise" — read the picked sub-skill in full first.
4. Sanity check after deploy
Whichever backend you pick, after launch run this universal sanity check:
# Replace localhost:PORT with the backend's actual port (default in each sub-skill)
curl http://localhost:PORT/v1/chat/completions \
-H "Content-Type:
よくある質問
どのMiniCPM5モデルを扱いますか?
Hugging Faceで複数の形式で提供されているMiniCPM5-1BとMiniCPM5-2Bを扱います。
最初にどの情報が必要ですか?
モデルの場所、NVIDIA GPUやApple Siliconなどのハードウェアの種類、チャットやサーバーなどの目的が必要です。
ツールは一つだけ選びますか?
はい。スキルは、リクエストごとにバックエンドガイドを必ず一つだけ選ぶよう設定されています。
詳細
作者による元の説明
Pick the right inference backend for a MiniCPM5-1B or MiniCPM5-2B checkpoint and route to a backend-specific cookbook skill. Use when the user wants to deploy / serve / chat-with / benchmark a MiniCPM5 model and has not yet committed to a specific engine, or when they say "deploy MiniCPM5", "run MiniCPM5", "serve MiniCPM5", "MiniCPM5 推理", "部署 MiniCPM5".
repo: OpenBMB/MiniCPM
人気
- GitHubのスター
- 12k
- ランキング
- #11539
- ライセンス
- Apache-2.0
- 更新日
- 2026/9/21
コメント
- …
このリポジトリの他のスキル
minicpm5-deploy-litert
12kGoogleのLiteRT-LMランタイムを使い、1つのモデルファイルでMiniCPM5モデルをパソコンやAndroidスマートフォン上で動かすようエージェントを支援します。
minicpm5-deploy-llama-cpp
12kダウンロード可能なGGUFファイルを使い、llama.cppでCPUや家庭用グラフィックスカード上のMiniCPM5モデルを動かす方法をエージェントに示します。
minicpm5-deploy-lmstudio
12kチャット画面を持つデスクトップアプリであるLM StudioでMiniCPM5モデルを動かし、そのローカルのOpenAI形式サーバーを起動するようエージェントを支援します。
minicpm5-deploy-mlx
12k高速なローカルチャットとテキスト生成のために、AppleのMLXフレームワークでApple Silicon搭載Mac上にMiniCPM5モデルをネイティブに動かすようエージェントを支援します。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。