hf-cloud-sagemaker-deployment-planner
Qué hace
Esta skill planea cómo alojar un modelo de IA en Amazon SageMaker. Es para personas que quieren que su modelo funcione como un endpoint y todavía no saben qué opción de alojamiento encaja.
Cuándo usarla
- ✓Cuando quieres desplegar, alojar o servir un modelo en SageMaker o AWS.
- ✓Cuando quieres un endpoint para un modelo de lenguaje, un modelo de embeddings o un modelo de imágenes.
- ✓Cuando quieres elegir entre alojamiento en tiempo real, asíncrono o por lotes.
Link de la skill
https://github.com/huggingface/skills/blob/main/skills/hf-cloud-sagemaker-deployment-planner/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Aloja este modelo de lenguaje de código abierto en SageMaker para mi aplicación, con las menos preguntas posibles.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La IA hace solo las preguntas que necesita, como el nombre y el tipo del modelo, y después recomienda una vía de alojamiento. Delega el resto del trabajo en skills especializadas para permisos, imágenes de servicio y el despliegue final.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Cuántas preguntas hará?
Solo las que necesite, e infiere detalles como el tipo de modelo a partir del nombre cuando puede.
¿Despliega el modelo por sí misma?
El planificador coordina el trabajo, mientras que skills separadas se ocupan de los permisos, la elección de imagen y el despliegue.
¿Qué opciones de alojamiento cubre?
Cubre alojamiento en tiempo real, sin servidor, asíncrono y por lotes, y también menciona la importación de modelos personalizados de AWS Bedrock.
Detalles
Descripción original del autor
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
Popularidad
- Estrellas en GitHub
- 11 mil
- Posición en el ranking
- #11768
- Licencia
- Apache-2.0
- Actualizada
- 30/10/2026
Comentarios
- …
Más skills de este repositorio
hf-cli
11 milAyuda a tu agente a usar la herramienta de línea de comandos de Hugging Face para descargar, subir y gestionar modelos, conjuntos de datos, Spaces, repositorios y la caché local.
hf-cloud-aws-context-discovery
11 milAyuda a tu agente a encontrar tu perfil, región y datos de cuenta de AWS antes de cualquier trabajo en la nube, para no adivinar qué cuenta usar.
hf-cloud-python-env-setup
11 milAyuda a tu agente a preparar un entorno de Python limpio, con una versión adecuada y las bibliotecas actuales, antes de ejecutar SageMaker o automatizaciones de AWS.
hf-cloud-sagemaker-iam-preflight
11 milAyuda a tu agente a confirmar que existe un rol de ejecución de SageMaker utilizable antes de desplegar, en vez de crear permisos nuevos en tu cuenta de AWS sin comprobarlo.
Skills parecidas
openclaw-update
394 milAyuda a tu agente a actualizar una Gateway de OpenClaw que ya existe, eligiendo el método de actualización que encaja con cómo se instaló y manteniendo tu sesión activa.
diagnose-gateway
394 milAyuda a tu agente a averiguar por qué falla tu Gateway de OpenClaw, revisando ajustes, canales y puertos sin cambiar nada.
crabbox-apps
394 milAyuda a tu agente a abrir y ejecutar una app en una máquina temporal en la nube y mostrar su vista en el panel lateral de tu chat.