Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Stages open-weight Hugging Face models to Amazon S3 and deploys them to SageMaker AI real-time endpoints using vLLM or SGLang containers.
32% 86%+55 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 7 of 22 without it.
Our automated validation pipeline finished running smoke test queries on a newly deployed SageMaker endpoint. What post-validation cleanup command should be executed to avoid ongoing compute charges?
Executes scripts/teardown.py with the --yes flag
3 of 3 safety checks passed
This skill is a model-agnostic deployment contract. The scripts do not select behavior by model name. The agent researches the requested checkpoint, derives its serving requirements, and supplies those decisions as explicit arguments.
The bundled scripts are generic execution primitives, not a model catalog or a policy engine. The agent must interpret current primary sources and choose the checkpoint, engine, image, hardware, topology, context cap, and request shape. A newly supported model should normally require different arguments, not a code change.
Do not grow the scripts with model profiles or model-name branches. Add code
only for a reusable SageMaker capability. If no compatible checkpoint fits a
single SageMaker real-time endpoint, choose another official quantization or
move to the appropriate SageMaker multi-node path, such as HyperPod, instead of
encoding a one-model exception in deploy.py.
Before deriving serving arguments from scratch, look up a known-good configuration for the requested checkpoint in the AWS SageMaker GenAI hosting examples:
https://github.com/aws-samples/sagemaker-genai-hosting-examples/tree/main/01-models
Find the requested model or an architecturally similar one and adopt its engine, image
family, instance and topology, context cap, and required SM_VLLM_* / SM_SGLANG_* options
as the starting point. This does not change the model-neutral contract: any configuration
found is supplied through generic CLI arguments (--image, --instance, --env,
--smoke-inputs, --capacity-reservation-arn), never added to the scripts. Use the model
publisher's model card for anything the examples do not cover.
Always re-validate against current reality before deploying: resolve the newest compatible DLC (reuse an example's pinned image only if it still exists in ECR), confirm the checkpoint's required GPU microarchitecture and quantization support, check endpoint quota, and size context and concurrency to the measured KV-cache budget.
If no matching example exists, or the example is stale (superseded DLC tag, deprecated flag,
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.