Skip to content

fix: Update HuggingFace PyTorch inference and TGI images to patch vul…#724

Open
RohitPanda wants to merge 1 commit intoaws-samples:mainfrom
RohitPanda:fix/update-sagemaker-image-vulnerabilities
Open

fix: Update HuggingFace PyTorch inference and TGI images to patch vul…#724
RohitPanda wants to merge 1 commit intoaws-samples:mainfrom
RohitPanda:fix/update-sagemaker-image-vulnerabilities

Conversation

@RohitPanda
Copy link
Copy Markdown

…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

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.

…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant