mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
TensorFlow: pin maximum version to 2.12 (#22364)
This commit is contained in:
parent
3a7f5fa9d2
commit
88dae78f4d
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user