Skip to content

Commit 53c46b0

Browse files
authored
Merge branch 'master' into processing-job-codeartifact-support
2 parents ad7cd9e + 5e83ad4 commit 53c46b0

File tree

3 files changed

+47
-3
lines changed

3 files changed

+47
-3
lines changed

src/sagemaker/image_uri_config/huggingface-llm.json

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"0.6": "0.6.0",
66
"0.8": "0.8.2",
77
"0.9": "0.9.3",
8-
"1.0": "1.0.3"
8+
"1.0": "1.0.3",
9+
"1.1": "1.1.0"
910
},
1011
"versions": {
1112
"0.6.0": {
@@ -175,6 +176,48 @@
175176
"tag_prefix": "2.0.1-tgi1.0.3",
176177
"repository": "huggingface-pytorch-tgi-inference",
177178
"container_version": {"gpu": "cu118-ubuntu20.04"}
179+
},
180+
"1.1.0": {
181+
"py_versions": ["py39"],
182+
"registries": {
183+
"af-south-1": "626614931356",
184+
"il-central-1": "780543022126",
185+
"ap-east-1": "871362719292",
186+
"ap-northeast-1": "763104351884",
187+
"ap-northeast-2": "763104351884",
188+
"ap-northeast-3": "364406365360",
189+
"ap-south-1": "763104351884",
190+
"ap-south-2": "772153158452",
191+
"ap-southeast-1": "763104351884",
192+
"ap-southeast-2": "763104351884",
193+
"ap-southeast-3": "907027046896",
194+
"ap-southeast-4": "457447274322",
195+
"ca-central-1": "763104351884",
196+
"cn-north-1": "727897471807",
197+
"cn-northwest-1": "727897471807",
198+
"eu-central-1": "763104351884",
199+
"eu-central-2": "380420809688",
200+
"eu-north-1": "763104351884",
201+
"eu-west-1": "763104351884",
202+
"eu-west-2": "763104351884",
203+
"eu-west-3": "763104351884",
204+
"eu-south-1": "692866216735",
205+
"eu-south-2": "503227376785",
206+
"me-south-1": "217643126080",
207+
"me-central-1": "914824155844",
208+
"sa-east-1": "763104351884",
209+
"us-east-1": "763104351884",
210+
"us-east-2": "763104351884",
211+
"us-gov-east-1": "446045086412",
212+
"us-gov-west-1": "442386744353",
213+
"us-iso-east-1": "886529160074",
214+
"us-isob-east-1": "094389454867",
215+
"us-west-1": "763104351884",
216+
"us-west-2": "763104351884"
217+
},
218+
"tag_prefix": "2.0.1-tgi1.1.0",
219+
"repository": "huggingface-pytorch-tgi-inference",
220+
"container_version": {"gpu": "cu118-ubuntu20.04"}
178221
}
179222
}
180223
}

tests/unit/sagemaker/image_uris/test_huggingface_llm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,14 @@
4444
"us-west-1": "763104351884",
4545
"us-west-2": "763104351884",
4646
}
47-
HF_VERSIONS = ["0.6.0", "0.8.2", "0.9.3", "1.0.3"]
47+
HF_VERSIONS = ["0.6.0", "0.8.2", "0.9.3", "1.0.3", "1.1.0"]
4848
LMI_VERSIONS = ["0.23.0"]
4949
HF_VERSIONS_MAPPING = {
5050
"0.6.0": "2.0.0-tgi0.6.0-gpu-py39-cu118-ubuntu20.04",
5151
"0.8.2": "2.0.0-tgi0.8.2-gpu-py39-cu118-ubuntu20.04",
5252
"0.9.3": "2.0.1-tgi0.9.3-gpu-py39-cu118-ubuntu20.04",
5353
"1.0.3": "2.0.1-tgi1.0.3-gpu-py39-cu118-ubuntu20.04",
54+
"1.1.0": "2.0.1-tgi1.1.0-gpu-py39-cu118-ubuntu20.04",
5455
}
5556
LMI_VERSIONS_MAPPING = {"0.23.0": "deepspeed0.9.5-cu118"}
5657

tests/unit/sagemaker/workflow/test_transform_step.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def test_transform_step_with_transformer(model_name, data, output_path, pipeline
127127
)
128128

129129
step_def = json.loads(pipeline.definition())["Steps"][0]
130-
assert step_def["Arguments"]["TransformJobName"] == "TestTransformJobPrefix"
130+
assert step_def["Arguments"]["TransformJobName"].startswith("TestTransformJobPrefix")
131131
assert step_def == {
132132
"Name": "MyTransformStep",
133133
"Type": "Transform",

0 commit comments

Comments
 (0)