TensorFlow: pin maximum version to 2.12 (#22364)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
tensorflow<2.12
|
||||
tensorflow<2.13
|
||||
tensorboard
|
||||
scikit-learn
|
||||
seqeval
|
||||
|
||||
6
setup.py
6
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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user