Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[TF FE] Update tensorflow-text version and fix jax version for MacOS x86 (#27295)

Roman Kazantsev3ced1c18a365
diff --git a/tests/requirements_tensorflow b/tests/requirements_tensorflow
index 3ae47d81ee2..954bba79442 100644
--- a/tests/requirements_tensorflow
+++ b/tests/requirements_tensorflow
@@ -9,13 +9,14 @@ pytest-html==4.1.1
transformers==4.45.1
# install exact keras version since tensorflow depends and has no upper bound for it
keras==3.6.0
-tensorflow==2.18.0; python_version >= "3.12" and (platform_system != "Darwin" or platform_machine != "x86_64")
-tensorflow==2.17.0; python_version < "3.12" and (platform_system != "Darwin" or platform_machine != "x86_64")
+tensorflow==2.18.0; platform_system != "Darwin" or platform_machine != "x86_64"
tensorflow==2.16.2; platform_system == "Darwin" and platform_machine == "x86_64"
# install explicit version of wrapt to avoid "this __dict__ descriptor does not support '_DictWrapper' objects" error from TensorFlow 2.18
wrapt==1.15.0; python_version >= "3.12"
# tensorflow-text is not available for both Windows and ARM platforms
-tensorflow-text==2.17.0; python_version < "3.12" and platform_system == "Linux" and platform_machine == "x86_64"
+tensorflow-text==2.18.0; python_version < "3.12" and platform_system == "Linux" and platform_machine == "x86_64"
tensorflow-hub==0.16.1
-jax==0.4.35
+jax==0.4.35; platform_system != "Darwin" or platform_machine != "x86_64"
+# tensorflow 2.16.2 depends on ml-dtypes~=0.3.1 and jax 0.4.35 depends on ml-dtypes>=0.4.0
+jax==0.4.33; platform_system == "Darwin" and platform_machine == "x86_64"
defusedxml==0.7.1