Skip to content

Commit 5451907

Browse files
authored
Merge branch 'master' into chore/excessive-jumpstart-bucket-logging
2 parents 5c33836 + b8fd4c4 commit 5451907

File tree

7 files changed

+100
-5
lines changed

7 files changed

+100
-5
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## v2.176.0 (2023-08-10)
4+
5+
### Features
6+
7+
* Add TF 2.13 Training and Inference SM images
8+
9+
### Bug Fixes and Other Changes
10+
11+
* revert-PR_3903
12+
* skip tensorflow local mode notebook test
13+
* change instance type for huggingface test to ml.g5.8xlarge
14+
315
## v2.175.0 (2023-08-05)
416

517
### Features

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.175.1.dev0
1+
2.176.1.dev0

src/sagemaker/image_uri_config/tensorflow.json

Lines changed: 80 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,8 @@
325325
"2.9": "2.9.3",
326326
"2.10": "2.10.1",
327327
"2.11": "2.11.1",
328-
"2.12": "2.12.1"
328+
"2.12": "2.12.1",
329+
"2.13": "2.13.0"
329330
},
330331
"versions": {
331332
"1.10.0": {
@@ -2054,6 +2055,44 @@
20542055
"us-west-2": "763104351884"
20552056
},
20562057
"repository": "tensorflow-inference"
2058+
},
2059+
"2.13.0": {
2060+
"registries": {
2061+
"af-south-1": "626614931356",
2062+
"il-central-1": "780543022126",
2063+
"ap-east-1": "871362719292",
2064+
"ap-northeast-1": "763104351884",
2065+
"ap-northeast-2": "763104351884",
2066+
"ap-northeast-3": "364406365360",
2067+
"ap-south-1": "763104351884",
2068+
"ap-south-2": "772153158452",
2069+
"ap-southeast-1": "763104351884",
2070+
"ap-southeast-2": "763104351884",
2071+
"ap-southeast-3": "907027046896",
2072+
"ap-southeast-4": "457447274322",
2073+
"ca-central-1": "763104351884",
2074+
"cn-north-1": "727897471807",
2075+
"cn-northwest-1": "727897471807",
2076+
"eu-central-1": "763104351884",
2077+
"eu-central-2": "380420809688",
2078+
"eu-north-1": "763104351884",
2079+
"eu-south-1": "692866216735",
2080+
"eu-south-2": "503227376785",
2081+
"eu-west-1": "763104351884",
2082+
"eu-west-2": "763104351884",
2083+
"eu-west-3": "763104351884",
2084+
"me-south-1": "217643126080",
2085+
"sa-east-1": "763104351884",
2086+
"us-east-1": "763104351884",
2087+
"us-east-2": "763104351884",
2088+
"us-iso-east-1": "886529160074",
2089+
"us-isob-east-1": "094389454867",
2090+
"us-gov-east-1": "446045086412",
2091+
"us-gov-west-1": "442386744353",
2092+
"us-west-1": "763104351884",
2093+
"us-west-2": "763104351884"
2094+
},
2095+
"repository": "tensorflow-inference"
20572096
}
20582097
}
20592098
},
@@ -2182,7 +2221,8 @@
21822221
"2.9": "2.9.2",
21832222
"2.10": "2.10.1",
21842223
"2.11": "2.11.0",
2185-
"2.12": "2.12.0"
2224+
"2.12": "2.12.0",
2225+
"2.13": "2.13.0"
21862226
},
21872227
"versions": {
21882228
"1.10.0": {
@@ -3982,6 +4022,44 @@
39824022
"us-west-2": "763104351884"
39834023
},
39844024
"repository": "tensorflow-training"
4025+
},
4026+
"2.13.0": {
4027+
"py_versions": [
4028+
"py310"
4029+
],
4030+
"registries": {
4031+
"af-south-1": "626614931356",
4032+
"il-central-1": "780543022126",
4033+
"ap-east-1": "871362719292",
4034+
"ap-northeast-1": "763104351884",
4035+
"ap-northeast-2": "763104351884",
4036+
"ap-northeast-3": "364406365360",
4037+
"ap-south-1": "763104351884",
4038+
"ap-southeast-1": "763104351884",
4039+
"ap-southeast-2": "763104351884",
4040+
"ap-southeast-3": "907027046896",
4041+
"ap-southeast-4": "457447274322",
4042+
"ca-central-1": "763104351884",
4043+
"cn-north-1": "727897471807",
4044+
"cn-northwest-1": "727897471807",
4045+
"eu-central-1": "763104351884",
4046+
"eu-north-1": "763104351884",
4047+
"eu-south-1": "692866216735",
4048+
"eu-west-1": "763104351884",
4049+
"eu-west-2": "763104351884",
4050+
"eu-west-3": "763104351884",
4051+
"me-south-1": "217643126080",
4052+
"sa-east-1": "763104351884",
4053+
"us-east-1": "763104351884",
4054+
"us-east-2": "763104351884",
4055+
"us-gov-east-1": "446045086412",
4056+
"us-gov-west-1": "442386744353",
4057+
"us-iso-east-1": "886529160074",
4058+
"us-isob-east-1": "094389454867",
4059+
"us-west-1": "763104351884",
4060+
"us-west-2": "763104351884"
4061+
},
4062+
"repository": "tensorflow-training"
39854063
}
39864064
}
39874065
}

tests/data/tensorflow_mnist/mnist_v2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ def load_data(data_dir):
126126
print(vx.shape, vy.shape)
127127
# x.shape = (1000, 784), y.shape = (1000, )
128128

129-
x, y = x.astype(np.float32), y.astype(np.int)
130-
vx, vy = vx.astype(np.float32), vy.astype(np.int)
129+
x, y = x.astype(np.float32), y.astype(np.int32)
130+
vx, vy = vx.astype(np.float32), vy.astype(np.int32)
131131
x /= 255.0
132132
vx /= 255.0
133133

Binary file not shown.

tests/integ/test_horovod.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ def test_hvd_cpu(
3737
cpu_instance_type,
3838
tmpdir,
3939
):
40+
if Version(tensorflow_training_latest_version) >= Version("2.13"):
41+
pytest.skip("Horovod is deprecated in TensorFlow 2.13 and above")
4042
_create_and_fit_estimator(
4143
sagemaker_session,
4244
tensorflow_training_latest_version,
@@ -65,6 +67,8 @@ def test_hvd_gpu(
6567
and kwargs["instance_type"] == "ml.p2.xlarge"
6668
):
6769
pytest.skip("P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12")
70+
if Version(tensorflow_training_latest_version) >= Version("2.13"):
71+
pytest.skip("Horovod is deprecated in TensorFlow 2.13 and above")
6872

6973
_create_and_fit_estimator(
7074
sagemaker_session,

tests/scripts/run-notebook-test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ echo "set SAGEMAKER_ROLE_ARN=$SAGEMAKER_ROLE_ARN"
127127
./amazon-sagemaker-examples/advanced_functionality/tensorflow_iris_byom/tensorflow_BYOM_iris.ipynb \
128128
./amazon-sagemaker-examples/sagemaker-python-sdk/1P_kmeans_highlevel/kmeans_mnist.ipynb \
129129
./amazon-sagemaker-examples/sagemaker-python-sdk/scikit_learn_randomforest/Sklearn_on_SageMaker_end2end.ipynb \
130+
./amazon-sagemaker-examples/sagemaker-pipelines/tabular/abalone_build_train_deploy/sagemaker-pipelines-preprocess-train-evaluate-batch-transform.ipynb \
130131
131132
# Skipping test until fix in example notebook to install docker-compose is complete
132133
#./amazon-sagemaker-examples/sagemaker-python-sdk/tensorflow_moving_from_framework_mode_to_script_mode/tensorflow_moving_from_framework_mode_to_script_mode.ipynb \

0 commit comments

Comments
 (0)