Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Deploys open-weight HuggingFace SafeTensor LLMs from S3 to SageMaker AI endpoints as Inference Components, served via vLLM containers.
Use this skill ↓41% 82%+41 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 9 of 22 without it.
3 of 3 safety checks passed
The portable contract that makes a non-deterministic agent definitive. Agents improvise; this SKILL.md constrains what must hold (the APIs, the ordering, the compatibility rules) while leaving how open as explicit, bounded options. The IDE is interchangeable — this contract is what travels.
Deploy a HuggingFace SafeTensor OSS model from S3 to a SageMaker AI real-time
endpoint via an Inference Component (IC). Plain deploy — measurement is the
sagemaker-benchmark skill, and optimization is the sagemaker-optimize skill. Path is fixed:
CreateModel → CreateEndpointConfig → CreateEndpoint → CreateInferenceComponent → smoke test.
This skill is model-agnostic. Deploy whatever open-weight model the user names; you only need three facts about it, which then drive Decisions 2–4:
| Property | Why it matters | Drives |
|---|---|---|
| Weights size (GB) + dtype | must fit in GPU memory alongside the KV cache | instance choice (Decision 2) |
| vLLM support | the DLC serves models with a native vLLM implementation | instance + go/no-go |
| Context length needed | longer context = more KV-cache memory | max_model_len (Decision 4) |
Default running example: GPT-OSS-20B (openai/gpt-oss-20b, ~13 GB mxfp4, text +
reasoning) — a strong open model that is not one-click in JumpStart, i.e. the exact
"raw weights → production" case this skill is for. If the user names another model, deploy
that one; if unspecified, ask. The same path works for Llama, Mistral, Qwen, etc.
Rule: pick the smallest instance whose GPU memory comfortably holds weights + KV cache,
then set tensor_parallel_size = GPU count.
| Instance | GPU | GPU mem | Good for |
|---|---|---|---|
ml.g6.16xlarge | 1× L4 | 24 GB | ≤13B, or ~20B quantized (GPT-OSS-20B mxfp4 fits); reliable capacity |
ml.g6.24xlarge | 4× L4 | 96 GB | larger / TP=4; recommendation-job target |
ml.g6e.16xlarge | 1× L40S | 48 GB | single big GPU — ~30B or long context |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.