diff --git a/.circleci/create_circleci_config.py b/.circleci/create_circleci_config.py index 0b26762b08..2725228432 100644 --- a/.circleci/create_circleci_config.py +++ b/.circleci/create_circleci_config.py @@ -224,7 +224,7 @@ torch_job = CircleCIJob( tf_job = CircleCIJob( "tf", install_steps=[ - "sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev espeak-ng", + "sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev espeak-ng cmake", "pip install --upgrade pip", "pip install .[sklearn,tf-cpu,testing,sentencepiece,tf-speech,vision]", "pip install tensorflow_probability", diff --git a/examples/tensorflow/_tests_requirements.txt b/examples/tensorflow/_tests_requirements.txt index 4548479bcc..02499f9321 100644 --- a/examples/tensorflow/_tests_requirements.txt +++ b/examples/tensorflow/_tests_requirements.txt @@ -1,4 +1,4 @@ -tensorflow<2.12 +tensorflow<2.13 tensorboard scikit-learn seqeval diff --git a/setup.py b/setup.py index 803535ab53..33eefac657 100644 --- a/setup.py +++ b/setup.py @@ -165,9 +165,9 @@ _deps = [ "sudachipy>=0.6.6", "sudachidict_core>=20220729", # TensorFlow pin. When changing this value, update examples/tensorflow/_tests_requirements.txt accordingly - "tensorflow-cpu>=2.4,<2.12", - "tensorflow>=2.4,<2.12", - "tensorflow-text<2.12", + "tensorflow-cpu>=2.4,<2.13", + "tensorflow>=2.4,<2.13", + "tensorflow-text<2.13", "tf2onnx", "timeout-decorator", "timm", diff --git a/src/transformers/dependency_versions_table.py b/src/transformers/dependency_versions_table.py index 1fbddb013f..314267922b 100644 --- a/src/transformers/dependency_versions_table.py +++ b/src/transformers/dependency_versions_table.py @@ -70,9 +70,9 @@ deps = { "starlette": "starlette", "sudachipy": "sudachipy>=0.6.6", "sudachidict_core": "sudachidict_core>=20220729", - "tensorflow-cpu": "tensorflow-cpu>=2.4,<2.12", - "tensorflow": "tensorflow>=2.4,<2.12", - "tensorflow-text": "tensorflow-text<2.12", + "tensorflow-cpu": "tensorflow-cpu>=2.4,<2.13", + "tensorflow": "tensorflow>=2.4,<2.13", + "tensorflow-text": "tensorflow-text<2.13", "tf2onnx": "tf2onnx", "timeout-decorator": "timeout-decorator", "timm": "timm",