File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -177,9 +177,11 @@ def __init__(
177
177
fw .python_deprecation_warning (self ._framework_name , defaults .LATEST_PY2_VERSION )
178
178
)
179
179
self .framework_version = framework_version
180
- self .override_fw_version = "2.16" if self .framework_version and "2.16" in self .framework_version else None
181
- ## TODO: Revert
182
- print (f"ABCD123 setting self.override_fw_version to { self .override_fw_version } " )
180
+ if self .framework_version and "2.16" in self .framework_version :
181
+ self .override_fw_version = "2.16"
182
+ ## TODO: Revert
183
+ print (f"ABCD123 setting self.override_fw_version to { self .override_fw_version } " )
184
+
183
185
# TF training and inference versions do not have a one-to-one connection. This mismatch
184
186
# is accommodated by the underlying dictionary. The key of dictionary relates to the inference
185
187
# version and the value relates to training version.
You can’t perform that action at this time.
0 commit comments