From 1a5fe78c127df6726c8d8598a307c8893fefd3b8 Mon Sep 17 00:00:00 2001 From: JJ Lim Date: Mon, 12 Feb 2024 20:20:31 +0000 Subject: [PATCH] feature: TGI 1.4.0 --- .../image_uri_config/huggingface-llm.json | 50 ++++++++++++++++++- .../image_uris/test_huggingface_llm.py | 1 + 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/src/sagemaker/image_uri_config/huggingface-llm.json b/src/sagemaker/image_uri_config/huggingface-llm.json index 637e831c50..0e90a478b3 100644 --- a/src/sagemaker/image_uri_config/huggingface-llm.json +++ b/src/sagemaker/image_uri_config/huggingface-llm.json @@ -10,7 +10,8 @@ "1.0": "1.0.3", "1.1": "1.1.0", "1.2": "1.2.0", - "1.3": "1.3.3" + "1.3": "1.3.3", + "1.4": "1.4.0" }, "versions": { "0.6.0": { @@ -388,6 +389,53 @@ "container_version": { "gpu": "cu121-ubuntu20.04" } + }, + "1.4.0": { + "py_versions": [ + "py310" + ], + "registries": { + "af-south-1": "626614931356", + "il-central-1": "780543022126", + "ap-east-1": "871362719292", + "ap-northeast-1": "763104351884", + "ap-northeast-2": "763104351884", + "ap-northeast-3": "364406365360", + "ap-south-1": "763104351884", + "ap-south-2": "772153158452", + "ap-southeast-1": "763104351884", + "ap-southeast-2": "763104351884", + "ap-southeast-3": "907027046896", + "ap-southeast-4": "457447274322", + "ca-central-1": "763104351884", + "cn-north-1": "727897471807", + "cn-northwest-1": "727897471807", + "eu-central-1": "763104351884", + "eu-central-2": "380420809688", + "eu-north-1": "763104351884", + "eu-west-1": "763104351884", + "eu-west-2": "763104351884", + "eu-west-3": "763104351884", + "eu-south-1": "692866216735", + "eu-south-2": "503227376785", + "me-south-1": "217643126080", + "me-central-1": "914824155844", + "sa-east-1": "763104351884", + "us-east-1": "763104351884", + "us-east-2": "763104351884", + "us-gov-east-1": "446045086412", + "us-gov-west-1": "442386744353", + "us-iso-east-1": "886529160074", + "us-isob-east-1": "094389454867", + "us-west-1": "763104351884", + "us-west-2": "763104351884", + "ca-west-1": "204538143572" + }, + "tag_prefix": "2.1.1-tgi1.4.0", + "repository": "huggingface-pytorch-tgi-inference", + "container_version": { + "gpu": "cu121-ubuntu20.04" + } } } } diff --git a/tests/unit/sagemaker/image_uris/test_huggingface_llm.py b/tests/unit/sagemaker/image_uris/test_huggingface_llm.py index 9a441bbcf9..910d3517c2 100644 --- a/tests/unit/sagemaker/image_uris/test_huggingface_llm.py +++ b/tests/unit/sagemaker/image_uris/test_huggingface_llm.py @@ -28,6 +28,7 @@ "1.2.0": "2.1.1-tgi1.2.0-gpu-py310-cu121-ubuntu20.04", "1.3.1": "2.1.1-tgi1.3.1-gpu-py310-cu121-ubuntu20.04", "1.3.3": "2.1.1-tgi1.3.3-gpu-py310-cu121-ubuntu20.04", + "1.4.0": "2.1.1-tgi1.4.0-gpu-py310-cu121-ubuntu20.04", }, "inf2": { "0.0.16": "1.13.1-optimum0.0.16-neuronx-py310-ubuntu22.04",