TensorFlow: pin maximum version to 2.12 (#22364)

This commit is contained in:
Joao Gante 2023-03-24 18:45:03 +00:00 committed by GitHub
parent 3a7f5fa9d2
commit 88dae78f4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View File

@ -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",

View File

@ -1,4 +1,4 @@
tensorflow<2.12
tensorflow<2.13
tensorboard
scikit-learn
seqeval

View File

@ -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",

View File

@ -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",