본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)11k · #11768

hf-cloud-sagemaker-deployment-planner

하는 일

이 스킬은 AI 모델을 Amazon SageMaker에서 호스팅하는 방법을 계획합니다. 모델을 엔드포인트로 제공하고 싶지만 어떤 호스팅 옵션이 맞는지 아직 모르는 사람들을 위한 스킬입니다.

사용하는 경우

  • ✓SageMaker나 AWS에서 모델을 배포하거나 호스팅하고 제공하고 싶을 때.
  • ✓언어 모델, 임베딩 모델, 이미지 모델의 엔드포인트가 필요할 때.
  • ✓실시간, 비동기, 배치 호스팅 중에서 고르고 싶을 때.

스킬 링크

https://github.com/huggingface/skills/blob/main/skills/hf-cloud-sagemaker-deployment-planner/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/huggingface/skills/blob/main/skills/hf-cloud-sagemaker-deployment-planner/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 오픈소스 언어 모델을 제 앱을 위해 SageMaker에 호스팅해 주세요. 질문은 가능한 한 적게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 필요한 질문만 하며, 예를 들어 모델 이름에서 모델 유형을 추론할 수 있으면 그렇게 합니다. 그다음 호스팅 경로를 추천하고, 나머지 작업은 권한, 서빙 이미지, 최종 배포를 다루는 전문 스킬에 넘깁니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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

  1. Discovery — what is being deployed and what are the constraints (this skill)
  2. Pathway selection — real-time / serverless / async / batch / Bedrock CMI (this skill)
  3. Context preflight — hf-cloud-aws-context-discovery, then hf-cloud-python-env-setup
  4. IAM preflight — hf-cloud-sagemaker-iam-preflight
  5. Image selection — hf-cloud-serving-image-selection
  6. 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 with BAAI/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

자주 묻는 질문

질문을 몇 개나 하나요?

필요한 것만 묻고, 모델 이름으로 추론할 수 있는 세부 사항은 묻지 않습니다.

스킬이 모델을 직접 배포하나요?

계획자는 작업을 조율하고, 별도의 스킬이 권한, 이미지 선택, 배포를 처리합니다.

어떤 호스팅 옵션을 다루나요?

실시간, 서버리스, 비동기, 배치 호스팅을 다루며, AWS Bedrock 사용자 지정 모델 가져오기도 언급합니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
11k
순위
#11768
라이선스
Apache-2.0
업데이트
2026. 10. 30.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬