File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,13 @@ def __init__(
176
176
logger .warning (
177
177
fw .python_deprecation_warning (self ._framework_name , defaults .LATEST_PY2_VERSION )
178
178
)
179
- self .framework_version = framework_version
179
+ # TF training and inference versions do not have a one-to-one connection. This mismatch
180
+ # is accommodated by the underlying dictionary. The key of dictionary relates to the inference
181
+ # 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
+ )
180
186
self .py_version = py_version
181
187
self .instance_type = instance_type
182
188
You can’t perform that action at this time.
0 commit comments