Aller au contenu
Skillpedia
Déploiement et cloud (DevOps)12k · #11539

minicpm5-deploy

Ce qu’il fait

Ce skill aide votre IA à choisir la meilleure façon d'exécuter un modèle MiniCPM5 selon votre matériel et votre objectif, puis renvoie vers le guide de configuration correspondant. Il s'adresse aux personnes qui savent qu'elles veulent MiniCPM5 mais ne savent pas encore quel outil utiliser.

Quand l’utiliser

  • ✓Quand vous voulez exécuter un modèle MiniCPM5 et n'avez pas encore choisi d'outil.
  • ✓Quand vous voulez savoir si MiniCPM5 doit tourner sur un portable, un serveur GPU ou un téléphone.
  • ✓Quand vous demandez à votre IA de servir, de discuter avec ou d'évaluer un modèle MiniCPM5.

Lien du skill

https://github.com/OpenBMB/MiniCPM/blob/main/skills/minicpm5-deploy/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/OpenBMB/MiniCPM/blob/main/skills/minicpm5-deploy/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Quelle est la meilleure façon d'exécuter MiniCPM5 sur mon ordinateur portable ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Le skill demande le modèle, votre matériel et votre objectif, puis choisit un guide de backend, comme vLLM, Ollama ou MLX, et le suit.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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) or minicpm5-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:
Questions fréquentes

Quels modèles MiniCPM5 couvre-t-il ?

Il couvre MiniCPM5-1B et MiniCPM5-2B, disponibles sur Hugging Face dans plusieurs formats.

De quelles informations a-t-il besoin en premier ?

Il a besoin de l'emplacement du modèle, du type de matériel, comme un GPU NVIDIA ou un Apple Silicon, et de votre objectif, comme la discussion ou un serveur.

Choisit-il un seul outil ?

Oui. Le skill est configuré pour choisir exactement un guide de backend pour chaque demande.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
12k
Position au classement
#11539
Licence
Apache-2.0
Mis à jour
21/09/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires