Unverified Commit 6587125c authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Pin tensorflow-text to go with tensorflow (#22362)

* Pin tensorflow-text to go with tensorflow

* Make it more convenient to pin TensorFlow

* setup don't like f-strings
parent 01203475
tensorflow<2.11 tensorflow<2.12
tensorboard tensorboard
scikit-learn scikit-learn
seqeval seqeval
......
...@@ -164,9 +164,10 @@ _deps = [ ...@@ -164,9 +164,10 @@ _deps = [
"starlette", "starlette",
"sudachipy>=0.6.6", "sudachipy>=0.6.6",
"sudachidict_core>=20220729", "sudachidict_core>=20220729",
# TensorFlow pin. When changing this value, update examples/tensorflow/_tests_requirements.txt accordingly
"tensorflow-cpu>=2.4,<2.12", "tensorflow-cpu>=2.4,<2.12",
"tensorflow>=2.4,<2.12", "tensorflow>=2.4,<2.12",
"tensorflow-text", "tensorflow-text<2.12",
"tf2onnx", "tf2onnx",
"timeout-decorator", "timeout-decorator",
"timm", "timm",
......
...@@ -72,7 +72,7 @@ deps = { ...@@ -72,7 +72,7 @@ deps = {
"sudachidict_core": "sudachidict_core>=20220729", "sudachidict_core": "sudachidict_core>=20220729",
"tensorflow-cpu": "tensorflow-cpu>=2.4,<2.12", "tensorflow-cpu": "tensorflow-cpu>=2.4,<2.12",
"tensorflow": "tensorflow>=2.4,<2.12", "tensorflow": "tensorflow>=2.4,<2.12",
"tensorflow-text": "tensorflow-text", "tensorflow-text": "tensorflow-text<2.12",
"tf2onnx": "tf2onnx", "tf2onnx": "tf2onnx",
"timeout-decorator": "timeout-decorator", "timeout-decorator": "timeout-decorator",
"timm": "timm", "timm": "timm",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment