hf-cloud-sagemaker-deployment-planner
यह क्या करती है
यह स्किल तय करती है कि AI मॉडल को Amazon SageMaker पर कैसे होस्ट किया जाए। यह उन लोगों के लिए है जो चाहते हैं कि उनका मॉडल एक endpoint के रूप में चले और जिन्हें अभी नहीं पता कि कौन सा होस्टिंग विकल्प ठीक है।
कब इस्तेमाल करें
- ✓जब आप SageMaker या AWS पर कोई मॉडल डिप्लॉय, होस्ट या सर्व करना चाहते हैं।
- ✓जब आपको किसी language model, embedding model या image model के लिए endpoint चाहिए।
- ✓जब आप real-time, async और batch होस्टिंग के बीच चुनना चाहते हैं।
Skill का लिंक
https://github.com/huggingface/skills/blob/main/skills/hf-cloud-sagemaker-deployment-planner/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस ओपन-सोर्स language model को मेरे ऐप के लिए SageMaker पर होस्ट कीजिए, और जितने कम सवाल हों उतना बेहतर।”
हर हफ़्ते 5 नई skills, 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
- 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
अक्सर पूछे जाने वाले सवाल
यह कितने सवाल पूछेगी?
यह सिर्फ़ उतने सवाल पूछती है जितने ज़रूरी हैं, और जब हो सके तो मॉडल के नाम से उसके प्रकार जैसे विवरण का अनुमान लगाती है।
क्या यह मॉडल खुद डिप्लॉय करती है?
योजनाकार काम का समन्वय करता है, जबकि अनुमतियाँ, इमेज चुनना और डिप्लॉयमेंट अलग स्किल संभालती हैं।
कौन से होस्टिंग विकल्प कवर होते हैं?
यह real-time, serverless, async और batch होस्टिंग कवर करती है, और AWS Bedrock में custom model import का भी ज़िक्र करती है।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 30/10/2026
कमेंट
- …
इस repository की और skills
hf-cli
11kयह आपके एजेंट को hf कमांड लाइन टूल से Hugging Face पर मॉडल, डेटासेट, Spaces, रिपो और लोकल कैश डाउनलोड करने, अपलोड करने और संभालने में मदद करती है।
hf-cloud-aws-context-discovery
11kयह आपके एजेंट को किसी भी क्लाउड काम से पहले AWS प्रोफ़ाइल, क्षेत्र और खाते का विवरण खोजने में मदद करती है, ताकि वह अंदाज़ा लगाकर खाता न चुने।
hf-cloud-python-env-setup
11kयह आपके एजेंट को SageMaker या AWS ऑटोमेशन चलाने से पहले सही Python संस्करण और ताज़ा लाइब्रेरी वाला साफ़ Python वातावरण सेट करने में मदद करती है।
hf-cloud-sagemaker-iam-preflight
11kयह आपके एजेंट को डिप्लॉय करने से पहले पक्का करने में मदद करती है कि SageMaker का इस्तेमाल योग्य execution role मौजूद है, बिना जाँचे AWS खाते में नई अनुमतियाँ बनाने की बजाय।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।