hf-cloud-sagemaker-deployment-planner
Ce qu’il fait
Cette compétence planifie l'hébergement d'un modèle d'IA sur Amazon SageMaker. Elle s'adresse aux personnes qui veulent que leur modèle soit servi comme un point de terminaison et ne savent pas encore quelle option d'hébergement convient.
Quand l’utiliser
- ✓Quand vous voulez déployer, héberger ou servir un modèle sur SageMaker ou AWS.
- ✓Quand vous voulez un point de terminaison pour un modèle de langage, un modèle d'embeddings ou un modèle d'image.
- ✓Quand vous voulez choisir entre un hébergement en temps réel, asynchrone ou par lots.
Lien du skill
https://github.com/huggingface/skills/blob/main/skills/hf-cloud-sagemaker-deployment-planner/SKILL.mdCopiez-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
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Héberge ce modèle de langage open source sur SageMaker pour mon application, avec le moins de questions possible.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'IA ne pose que les questions nécessaires, comme le nom et le type du modèle, puis recommande une option d'hébergement. Elle confie le reste du travail à des compétences spécialisées pour les autorisations, les images de service et le déploiement final.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
SageMaker Deployment Planner
You are helping a user deploy a model to Amazon SageMaker. Most users invoking this skill want the model deployed with reasonable defaults, in as few questions as possible. Ask only what you need, recommend a pathway honestly, and hand off to the specialized skills.
Workflow phases
- Discovery — what is being deployed and what are the constraints (this skill)
- Pathway selection — real-time / serverless / async / batch / Bedrock CMI (this skill)
- Context preflight —
hf-cloud-aws-context-discovery, thenhf-cloud-python-env-setup - IAM preflight —
hf-cloud-sagemaker-iam-preflight - Image selection —
hf-cloud-serving-image-selection - Deployment —
hf-cloud-sagemaker-production-defaults
Phases 1–2 are this skill's job. The others activate when their patterns match.
Discovery: ask only what you need
You will eventually need to know:
- What model: HuggingFace ID, S3 path to artifacts, or model name. If the user is vague ("the model I fine-tuned"), ask for the artifact location.
- Model type: text-generation LLM, embedding/reranker, or other (classifier, NER, etc.). This determines the serving stack — usually inferable from the model name (anything ending in
-embed-*, starting withBAAI/bge-,sentence-transformers/*etc. is embeddings; chat/instruct models are LLMs). Only ask if it's genuinely ambiguous. - Traffic shape: roughly how often will this be called?
- Latency tolerance: interactive, near-real-time, or async?
- Cost sensitivity: ask only if the user signals it or the traffic pattern is ambiguous.
Region comes from hf-cloud-aws-context-discovery — don't ask unless the user volunteers it.
Do not front-load all of these. A common minimal set is just: what model, and roughly how often will it be called? The model name usually settles the model-type question. That alone is often enough to narrow the pathway to two candidates. If the user already told you something, don't ask again.
Pathway selection
| Pathway | When it fits | When it does not |
|---|---|---|
| Real-time endpoint | Steady traffic, sub-second to few-second latency, always-on | Very spiky or very sparse traffic (wastes money on idle) |
| Real-time, scale to zero | Sparse or scheduled traffic, dev/test endpoints, and a client that tolerates a ~9 min first request after idle | Any interactive SLA: every request during the wake fails with a 400 |
| Serverless inference | Spiky/intermittent, tolerates cold starts (~10s+), simpler models | LLMs above a few B params (memory/cold-start limits), strict SLAs |
| Async inference | Long inference (>60s), large payloads, queue-friendly | Interactive synchronous calls |
| Batch transform | Offline scoring over a dataset | Anything online or interactive |
| Bedrock Custom Model Import | Wants Bedrock-compatible API, supported base family, weights only | Custom inference logic, unsupported architectures |
For LLMs, real-time endpoints are the default unless traffic is explicitly spiky/sparse or inference is long-running. Serverless looks attractive for "low traffic" cases but most LLMs exceed its memory limits.
For embeddings, real-time is again the default — but CPU instances are usually the right choice (much cheaper, fast enough for most embedding workloads). Don't reflexively recommend GPU instances for embedding models; ask hf-cloud-serving-image-selection to consider CPU variants if the model is small (<1B params) and traffic is moderate.
For text-to-image, video generation, or other long-inference workloads (>30s per request) where traffic is also bursty: async inference is the right answer. It supports genuine scale-to-zero between batches and queues requests via S3, so you don't pay for idle GPU. hf-cloud-sagemaker-production-defaults has a dedicated deploy_async.py for this.
Real-time, real-time scale-to-zero, and async are the three scripted pathways (deploy.py, deploy_ic.py, deploy_async.py in hf-cloud-sagemaker-production-defaults). Serverless, batch transform, and Bedrock Custom Model Import are not currently scripted — for those, hand the user off with a brief explanation rather than trying to deploy them through this workflow.
Scale to zero, real-time or async? Both reach zero and both make the first request after idle slow. Pick async when one inference can exceed the 60s InvokeEndpoint limit, when payloads are large, or
Questions fréquentes
Combien de questions posera-t-elle ?
Elle ne pose que ce dont elle a besoin, et déduit des détails comme le type du modèle à partir de son nom lorsqu'elle le peut.
Déploie-t-elle elle-même le modèle ?
Le planificateur coordonne le travail, tandis que des compétences distinctes gèrent les autorisations, le choix de l'image et le déploiement.
Quelles options d'hébergement couvre-t-elle ?
Elle couvre l'hébergement en temps réel, sans serveur, asynchrone et par lots, et mentionne aussi l'importation de modèles personnalisés dans AWS Bedrock.
Détails
Description originale de l’auteur
Plan and coordinate the deployment of a model to Amazon SageMaker AI. Use this skill whenever the user wants to deploy, host, serve, or expose a model on SageMaker or AWS — including phrases like "deploy a model", "host this LLM on AWS", "serve this embedding model", "deploy a reranker", "deploy a text-to-image / diffusion model", "host this for async inference", "create an endpoint", "serve my fine-tuned model", or any request that involves making a model available for inference on AWS. Use this even when the user is vague (e.g. "I just want to get this running on AWS, you figure it out"). Wo
repo: huggingface/skills
Popularité
- Étoiles GitHub
- 11k
- Position au classement
- #11768
- Licence
- Apache-2.0
- Mis à jour
- 30/10/2026
Commentaires
- …
Autres skills de ce dépôt
hf-cli
11kAide votre agent à utiliser l'outil en ligne de commande Hugging Face pour télécharger, téléverser et gérer des modèles, jeux de données, Spaces, dépôts et le cache local.
hf-cloud-aws-context-discovery
11kAide votre agent à trouver votre profil AWS, votre région et les détails de votre compte avant tout travail cloud, pour qu'il ne devine pas quel compte utiliser.
hf-cloud-python-env-setup
11kAide votre agent à mettre en place un environnement Python propre, avec une version adaptée et des bibliothèques à jour, avant d'exécuter SageMaker ou des automatisations AWS.
hf-cloud-sagemaker-iam-preflight
11kAide votre agent à confirmer qu'un rôle d'exécution SageMaker utilisable existe avant le déploiement, au lieu de créer de nouvelles autorisations dans votre compte AWS sans vérification.
Skills similaires
openclaw-update
394kAide votre agent à mettre à jour une passerelle OpenClaw existante, en choisissant la méthode adaptée à son installation et en gardant votre session active.
diagnose-gateway
394kAide votre agent à trouver pourquoi votre passerelle OpenClaw échoue, en vérifiant les paramètres, les canaux et les ports sans rien modifier.
crabbox-apps
394kAide votre agent à ouvrir et exécuter une application sur une machine cloud temporaire, puis à afficher sa vue dans le panneau latéral de votre chat.