Skip to content

Commit 80c3c13

Browse files
feature: Hugging Face Transformers 4.17 for TF 2.6 (#3027)
Co-authored-by: Navin Soni <[email protected]>
1 parent 0f31c08 commit 80c3c13

File tree

2 files changed

+69
-3
lines changed

2 files changed

+69
-3
lines changed

src/sagemaker/image_uri_config/huggingface.json

+68-2
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,8 @@
561561
},
562562
"4.17.0": {
563563
"version_aliases": {
564-
"pytorch1.10": "pytorch1.10.2"
564+
"pytorch1.10": "pytorch1.10.2",
565+
"tensorflow2.6": "tensorflow2.6.3"
565566
},
566567
"pytorch1.10.2": {
567568
"py_versions": ["py38"],
@@ -594,6 +595,38 @@
594595
},
595596
"repository": "huggingface-pytorch-training",
596597
"container_version": {"gpu": "cu113-ubuntu20.04"}
598+
},
599+
"tensorflow2.6.3": {
600+
"py_versions": ["py38"],
601+
"registries": {
602+
"af-south-1": "626614931356",
603+
"ap-east-1": "871362719292",
604+
"ap-northeast-1": "763104351884",
605+
"ap-northeast-2": "763104351884",
606+
"ap-northeast-3": "364406365360",
607+
"ap-south-1": "763104351884",
608+
"ap-southeast-1": "763104351884",
609+
"ap-southeast-2": "763104351884",
610+
"ca-central-1": "763104351884",
611+
"cn-north-1": "727897471807",
612+
"cn-northwest-1": "727897471807",
613+
"eu-central-1": "763104351884",
614+
"eu-north-1": "763104351884",
615+
"eu-south-1": "692866216735",
616+
"eu-west-1": "763104351884",
617+
"eu-west-2": "763104351884",
618+
"eu-west-3": "763104351884",
619+
"me-south-1": "217643126080",
620+
"sa-east-1": "763104351884",
621+
"us-east-1": "763104351884",
622+
"us-east-2": "763104351884",
623+
"us-gov-west-1": "442386744353",
624+
"us-iso-east-1": "886529160074",
625+
"us-west-1": "763104351884",
626+
"us-west-2": "763104351884"
627+
},
628+
"repository": "huggingface-tensorflow-training",
629+
"container_version": {"gpu": "cu112-ubuntu20.04"}
597630
}
598631
}
599632
}
@@ -989,7 +1022,8 @@
9891022
},
9901023
"4.17.0": {
9911024
"version_aliases": {
992-
"pytorch1.10": "pytorch1.10.2"
1025+
"pytorch1.10": "pytorch1.10.2",
1026+
"tensorflow2.6": "tensorflow2.6.3"
9931027
},
9941028
"pytorch1.10.2": {
9951029
"py_versions": ["py38"],
@@ -1022,6 +1056,38 @@
10221056
},
10231057
"repository": "huggingface-pytorch-inference",
10241058
"container_version": {"gpu": "cu113-ubuntu20.04", "cpu": "ubuntu20.04" }
1059+
},
1060+
"tensorflow2.6.3": {
1061+
"py_versions": ["py38"],
1062+
"registries": {
1063+
"af-south-1": "626614931356",
1064+
"ap-east-1": "871362719292",
1065+
"ap-northeast-1": "763104351884",
1066+
"ap-northeast-2": "763104351884",
1067+
"ap-northeast-3": "364406365360",
1068+
"ap-south-1": "763104351884",
1069+
"ap-southeast-1": "763104351884",
1070+
"ap-southeast-2": "763104351884",
1071+
"ca-central-1": "763104351884",
1072+
"cn-north-1": "727897471807",
1073+
"cn-northwest-1": "727897471807",
1074+
"eu-central-1": "763104351884",
1075+
"eu-north-1": "763104351884",
1076+
"eu-south-1": "692866216735",
1077+
"eu-west-1": "763104351884",
1078+
"eu-west-2": "763104351884",
1079+
"eu-west-3": "763104351884",
1080+
"me-south-1": "217643126080",
1081+
"sa-east-1": "763104351884",
1082+
"us-east-1": "763104351884",
1083+
"us-east-2": "763104351884",
1084+
"us-gov-west-1": "442386744353",
1085+
"us-iso-east-1": "886529160074",
1086+
"us-west-1": "763104351884",
1087+
"us-west-2": "763104351884"
1088+
},
1089+
"repository": "huggingface-tensorflow-inference",
1090+
"container_version": {"gpu": "cu112-ubuntu20.04", "cpu": "ubuntu20.04" }
10251091
}
10261092
}
10271093
}

tests/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def huggingface_pytorch_latest_inference_py_version(huggingface_inference_pytorc
266266

267267
@pytest.fixture(scope="module")
268268
def huggingface_tensorflow_latest_training_py_version():
269-
return "py37"
269+
return "py38"
270270

271271

272272
@pytest.fixture(scope="module")

0 commit comments

Comments
 (0)