Skip to content

Commit fa04c1a

Browse files
author
Chuyang Deng
committed
import LATEST_SERVING_VERSION from TensorFlow.defaults
1 parent 31110b4 commit fa04c1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integ/test_tf_script_mode.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import pytest
2020

2121
from sagemaker.tensorflow import TensorFlow
22+
from sagemaker.tensorflow.defaults import LATEST_SERVING_VERSION
2223
from sagemaker.utils import unique_name_from_base, sagemaker_timestamp
2324

2425
import tests.integ
@@ -166,7 +167,7 @@ def test_mnist_async(sagemaker_session, cpu_instance_type, tf_full_version, py_v
166167
sagemaker_session=sagemaker_session,
167168
script_mode=True,
168169
# testing py-sdk functionality, no need to run against all TF versions
169-
framework_version=TensorFlow.LATEST_SERVING_VERSION,
170+
framework_version=LATEST_SERVING_VERSION,
170171
tags=TAGS,
171172
)
172173
inputs = estimator.sagemaker_session.upload_data(

0 commit comments

Comments
 (0)