Skip to content

Commit bb803c9

Browse files
authored
chore: Add tei 1.6.0 image (#5145)
* chore: add huggingface images * chore: add tei 1.6 image * chore: add tei 1.6.0 to tei mapping in tests
1 parent 85056eb commit bb803c9

File tree

3 files changed

+100
-2
lines changed

3 files changed

+100
-2
lines changed

src/sagemaker/image_uri_config/huggingface-tei-cpu.json

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
],
66
"version_aliases": {
77
"1.2": "1.2.3",
8-
"1.4": "1.4.0"
8+
"1.4": "1.4.0",
9+
"1.6": "1.6.0"
910
},
1011
"versions": {
1112
"1.2.3": {
@@ -101,6 +102,53 @@
101102
"container_version": {
102103
"cpu": "ubuntu22.04"
103104
}
105+
},
106+
"1.6.0":{
107+
"py_versions": [
108+
"py310"
109+
],
110+
"registries": {
111+
"af-south-1": "510948584623",
112+
"ap-east-1": "651117190479",
113+
"ap-northeast-1": "354813040037",
114+
"ap-northeast-2": "366743142698",
115+
"ap-northeast-3": "867004704886",
116+
"ap-south-1": "720646828776",
117+
"ap-south-2": "628508329040",
118+
"ap-southeast-1": "121021644041",
119+
"ap-southeast-2": "783357654285",
120+
"ap-southeast-3": "951798379941",
121+
"ap-southeast-4": "106583098589",
122+
"ca-central-1": "341280168497",
123+
"ca-west-1": "190319476487",
124+
"cn-north-1": "450853457545",
125+
"cn-northwest-1": "451049120500",
126+
"eu-central-1": "492215442770",
127+
"eu-central-2": "680994064768",
128+
"eu-north-1": "662702820516",
129+
"eu-south-1": "978288397137",
130+
"eu-south-2": "104374241257",
131+
"eu-west-1": "141502667606",
132+
"eu-west-2": "764974769150",
133+
"eu-west-3": "659782779980",
134+
"il-central-1": "898809789911",
135+
"me-central-1": "272398656194",
136+
"me-south-1": "801668240914",
137+
"sa-east-1": "737474898029",
138+
"us-east-1": "683313688378",
139+
"us-east-2": "257758044811",
140+
"us-gov-east-1": "237065988967",
141+
"us-gov-west-1": "414596584902",
142+
"us-iso-east-1": "833128469047",
143+
"us-isob-east-1": "281123927165",
144+
"us-west-1": "746614075791",
145+
"us-west-2": "246618743249"
146+
},
147+
"tag_prefix": "2.0.1-tei1.6.0",
148+
"repository": "tei-cpu",
149+
"container_version": {
150+
"cpu": "ubuntu22.04"
151+
}
104152
}
105153
}
106154
}

src/sagemaker/image_uri_config/huggingface-tei.json

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
],
66
"version_aliases": {
77
"1.2": "1.2.3",
8-
"1.4": "1.4.0"
8+
"1.4": "1.4.0",
9+
"1.6": "1.6.0"
910
},
1011
"versions": {
1112
"1.2.3": {
@@ -101,6 +102,53 @@
101102
"container_version": {
102103
"gpu": "cu122-ubuntu22.04"
103104
}
105+
},
106+
"1.6.0": {
107+
"py_versions": [
108+
"py310"
109+
],
110+
"registries": {
111+
"af-south-1": "510948584623",
112+
"ap-east-1": "651117190479",
113+
"ap-northeast-1": "354813040037",
114+
"ap-northeast-2": "366743142698",
115+
"ap-northeast-3": "867004704886",
116+
"ap-south-1": "720646828776",
117+
"ap-south-2": "628508329040",
118+
"ap-southeast-1": "121021644041",
119+
"ap-southeast-2": "783357654285",
120+
"ap-southeast-3": "951798379941",
121+
"ap-southeast-4": "106583098589",
122+
"ca-central-1": "341280168497",
123+
"ca-west-1": "190319476487",
124+
"cn-north-1": "450853457545",
125+
"cn-northwest-1": "451049120500",
126+
"eu-central-1": "492215442770",
127+
"eu-central-2": "680994064768",
128+
"eu-north-1": "662702820516",
129+
"eu-south-1": "978288397137",
130+
"eu-south-2": "104374241257",
131+
"eu-west-1": "141502667606",
132+
"eu-west-2": "764974769150",
133+
"eu-west-3": "659782779980",
134+
"il-central-1": "898809789911",
135+
"me-central-1": "272398656194",
136+
"me-south-1": "801668240914",
137+
"sa-east-1": "737474898029",
138+
"us-east-1": "683313688378",
139+
"us-east-2": "257758044811",
140+
"us-gov-east-1": "237065988967",
141+
"us-gov-west-1": "414596584902",
142+
"us-iso-east-1": "833128469047",
143+
"us-isob-east-1": "281123927165",
144+
"us-west-1": "746614075791",
145+
"us-west-2": "246618743249"
146+
},
147+
"tag_prefix": "2.0.1-tei1.6.0",
148+
"repository": "tei",
149+
"container_version": {
150+
"gpu": "cu122-ubuntu22.04"
151+
}
104152
}
105153
}
106154
}

tests/unit/sagemaker/image_uris/test_huggingface_llm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@
2323
"gpu": {
2424
"1.2.3": "2.0.1-tei1.2.3-gpu-py310-cu122-ubuntu22.04",
2525
"1.4.0": "2.0.1-tei1.4.0-gpu-py310-cu122-ubuntu22.04",
26+
"1.6.0": "2.0.1-tei1.6.0-gpu-py310-cu122-ubuntu22.04",
2627
},
2728
"cpu": {
2829
"1.2.3": "2.0.1-tei1.2.3-cpu-py310-ubuntu22.04",
2930
"1.4.0": "2.0.1-tei1.4.0-cpu-py310-ubuntu22.04",
31+
"1.6.0": "2.0.1-tei1.6.0-cpu-py310-ubuntu22.04",
3032
},
3133
}
3234
HF_VERSIONS_MAPPING = {

0 commit comments

Comments
 (0)