Skip to content

docs: update & add new AWS DLCs#2571

Merged
ehcalabres merged 7 commits into
huggingface:mainfrom
ehcalabres:add-new-aws-dlcs
Jul 9, 2026
Merged

docs: update & add new AWS DLCs#2571
ehcalabres merged 7 commits into
huggingface:mainfrom
ehcalabres:add-new-aws-dlcs

Conversation

@ehcalabres

@ehcalabres ehcalabres commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Description

This PR adds docs for 2 new AWS DLCs:

  • Llama.cpp
  • vLLM Omni

Additionally, it updates the vLLM and SGLang versions to the latest available container. It also updates the FAQ about how to obtain the image URI for your model using the SageMaker Python SDK.


Note

Low Risk
Documentation-only changes to container URIs and examples; no runtime or application code is modified.

Overview
Updates the SageMaker available DLCs page with newer inference images and two new serving stacks.

Inference tables: bumps the documented vLLM GPU image from 0.17.0 to 0.21.0 (transformers 5.8.1, cu130) and SGLang from 0.5.8 to 0.5.12; refreshes TEI CPU/GPU URIs to tei 1.9.3 on Ubuntu 24.04. Adds sections for vLLM Omni (multimodal, 0.20.0) and Llama.cpp (CPU and GPU, tag b9522).

FAQ: replaces manual ECR account/region assembly and the old multi-print image_uris.retrieve examples with a single image_uris.retrieve pattern listing frameworks including vLLM Omni and Llama.cpp, plus an optional ModelBuilder snippet for automatic container selection, with a note to verify URIs against this doc when the SDK lags.

Reviewed by Cursor Bugbot for commit 9e7f3f2. Bugbot is set up for automated code reviews on this repo. Configure here.

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@ehcalabres
ehcalabres requested a review from pagezyhf June 17, 2026 17:25

@pagezyhf pagezyhf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
I think we should also update the FAQ:

@ehcalabres

Copy link
Copy Markdown
Contributor Author

Hey @pagezyhf! Yes, maybe I can update the How to find the URI of my container? section with the changes from aws/sagemaker-python-sdk#5960 and we just keep one section for finding the right container URI

from sagemaker.core import image_uris

The `image_uris.retrieve` helper from `sagemaker.core` is not always up to date but it is much simpler than reconstructing the image URI yourself. The processor (CPU/GPU/Neuron) is inferred from the `instance_type`.
AVAILABLE_FRAMEWORKS = [

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure it works for all of those families? last time I checked it didn't

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I checked. This is the output if you go through them:

Image for huggingface-tei: 683313688378.dkr.ecr.us-east-1.amazonaws.com/tei:2.0.1-tei1.8.2-gpu-py310-cu122-ubuntu22.04
Image for huggingface-llamacpp: 763104351884.dkr.ecr.us-east-1.amazonaws.com/huggingface-llamacpp:b9522-gpu-cu130-ubuntu24.04
Image for huggingface-vllm: 763104351884.dkr.ecr.us-east-1.amazonaws.com/huggingface-vllm:0.21.0-transformers5.8.1-gpu-py312-cu130-ubuntu22.04
Image for huggingface-vllm-omni: 763104351884.dkr.ecr.us-east-1.amazonaws.com/huggingface-vllm-omni:0.20.0-transformers5.8.1-gpu-py312-cu130-amzn2023
Image for huggingface-sglang: 763104351884.dkr.ecr.us-east-1.amazonaws.com/huggingface-sglang:0.5.8-transformers4.57.3-gpu-py312-cu129-ubuntu24.04

@dwarez updated them all on aws/sagemaker-python-sdk#5960

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm just seeing that TEI is not updated in the SDK to 1.9.3, I'll create a PR for that too 👍

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we'll need to make sure those are up to date in the sagemakersdk too, so one more thing to maintain but 👍


> [!NOTE]
> These docs and examples use the [SageMaker Python SDK v3](https://github.com/aws/sagemaker-python-sdk), which introduces a new framework-agnostic API built around `ModelBuilder` (inference) and `ModelTrainer` (training), replacing the v2 `HuggingFaceModel` and `HuggingFace` classes. Install it with `pip install "sagemaker>=3.0.0"`. In v2 these URIs were retrieved with `get_huggingface_llm_image_uri`, which has been removed.
If you just want to use the default container for a given model, you can also rely on the SageMaker SDK `ModelBuilder`, which will automatically choose the correct container for you:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dwarez curious about your thoughts here as you spent time looking at this logic.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's correct, model builder uses the routing logic we defined in the sdk. Then it's up to us to specify the logic and keep it updated as we publish more dlcs

@ehcalabres
ehcalabres merged commit 58487fb into huggingface:main Jul 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants