Skip to content

Commit 0a2ed3d

Browse files
committed
Comment previous data
1 parent 80f7875 commit 0a2ed3d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/sagemaker/tensorflow/estimator.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,15 @@ def __init__(
176176
logger.warning(
177177
fw.python_deprecation_warning(self._framework_name, defaults.LATEST_PY2_VERSION)
178178
)
179+
self.framework_version = framework_version
179180
# TF training and inference versions do not have a one-to-one connection. This mismatch
180181
# is accommodated by the underlying dictionary. The key of dictionary relates to the inference
181182
# version and the value relates to training version.
182-
training_inference_version_mismatch_dict = {"2.16.1": "2.16.2"}
183-
self.framework_version = training_inference_version_mismatch_dict.get(
184-
framework_version, framework_version
185-
)
183+
184+
# training_inference_version_mismatch_dict = {"2.16.1": "2.16.2"}
185+
# self.framework_version = training_inference_version_mismatch_dict.get(
186+
# framework_version, framework_version
187+
# )
186188
self.py_version = py_version
187189
self.instance_type = instance_type
188190

0 commit comments

Comments
 (0)