mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-03 21:00:08 +06:00
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
This commit is contained in:
parent
01203475c9
commit
6587125c0a
@ -1,4 +1,4 @@
|
||||
tensorflow<2.11
|
||||
tensorflow<2.12
|
||||
tensorboard
|
||||
scikit-learn
|
||||
seqeval
|
||||
|
3
setup.py
3
setup.py
@ -164,9 +164,10 @@ _deps = [
|
||||
"starlette",
|
||||
"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",
|
||||
"tensorflow-text<2.12",
|
||||
"tf2onnx",
|
||||
"timeout-decorator",
|
||||
"timm",
|
||||
|
@ -72,7 +72,7 @@ deps = {
|
||||
"sudachidict_core": "sudachidict_core>=20220729",
|
||||
"tensorflow-cpu": "tensorflow-cpu>=2.4,<2.12",
|
||||
"tensorflow": "tensorflow>=2.4,<2.12",
|
||||
"tensorflow-text": "tensorflow-text",
|
||||
"tensorflow-text": "tensorflow-text<2.12",
|
||||
"tf2onnx": "tf2onnx",
|
||||
"timeout-decorator": "timeout-decorator",
|
||||
"timm": "timm",
|
||||
|
Loading…
Reference in New Issue
Block a user