Skip to content

Commit 3fc819e

Browse files
author
Chuyang Deng
committed
feature: support TFS 2.2
1 parent 69d06ad commit 3fc819e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/sagemaker/tensorflow/defaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
LATEST_VERSION = "2.2.0"
2222
"""The latest version of TensorFlow included in the SageMaker pre-built Docker images."""
2323

24-
LATEST_SERVING_VERSION = "2.1.0"
24+
LATEST_SERVING_VERSION = "2.2.0"
2525
"""The latest version of TensorFlow Serving included in the SageMaker pre-built Docker images."""
2626

2727
LATEST_PY2_VERSION = "2.1.0"

tests/integ/test_tf_script_mode.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test_mnist_with_checkpoint_config(
6060
sagemaker_session=sagemaker_session,
6161
script_mode=True,
6262
framework_version=tf_full_version,
63-
py_version="py37",
63+
py_version=py_version,
6464
metric_definitions=[{"Name": "train:global_steps", "Regex": r"global_step\/sec:\s(.*)"}],
6565
checkpoint_s3_uri=checkpoint_s3_uri,
6666
checkpoint_local_path=checkpoint_local_path,
@@ -139,7 +139,7 @@ def test_mnist_distributed(sagemaker_session, instance_type, tf_full_version, py
139139
train_instance_count=2,
140140
train_instance_type=instance_type,
141141
sagemaker_session=sagemaker_session,
142-
py_version="py37",
142+
py_version=py_version,
143143
script_mode=True,
144144
framework_version=tf_full_version,
145145
distributions=PARAMETER_SERVER_DISTRIBUTION,

0 commit comments

Comments
 (0)