fix: Update HuggingFace PyTorch inference and TGI images to patch vul…#724
Open
RohitPanda wants to merge 1 commit intoaws-samples:mainfrom
Open
fix: Update HuggingFace PyTorch inference and TGI images to patch vul…#724RohitPanda wants to merge 1 commit intoaws-samples:mainfrom
RohitPanda wants to merge 1 commit intoaws-samples:mainfrom
Conversation
…nerabilities Update SageMaker model images to address container vulnerabilities identified in Mirador findings. Changes: 1. HuggingFace PyTorch Inference: - Add HF_PYTORCH_INFERENCE_4_51_3 with latest patched image - Old: 2.0.0-transformers4.28.1-gpu-py310-cu118-ubuntu20.04 - New: 2.6.0-transformers4.51.3-gpu-py312-cu124-ubuntu22.04-v2.2 2. HuggingFace PyTorch TGI Inference: - Add HF_PYTORCH_LLM_TGI_INFERENCE_3_3_6 with latest patched image - Old: 2.1.1-tgi1.3.3-gpu-py310-cu121-ubuntu20.04 - New: 2.7.0-tgi3.3.6-gpu-py311-cu124-ubuntu22.04 Image updates include: - PyTorch 2.0.x/2.1.x → 2.6.0/2.7.0 - Transformers 4.28.1 → 4.51.3 - TGI 1.3.3 → 3.3.6 - Python 3.10 → 3.11/3.12 - CUDA 11.8/12.1 → 12.4 - Ubuntu 20.04 → 22.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…nerabilities
Update SageMaker model images to address container vulnerabilities identified in Mirador findings.
Changes:
HuggingFace PyTorch Inference:
HuggingFace PyTorch TGI Inference:
Image updates include:
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.