Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
88dae78f
Unverified
Commit
88dae78f
authored
Mar 24, 2023
by
Joao Gante
Committed by
GitHub
Mar 24, 2023
Browse files
TensorFlow: pin maximum version to 2.12 (#22364)
parent
3a7f5fa9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
.circleci/create_circleci_config.py
.circleci/create_circleci_config.py
+1
-1
examples/tensorflow/_tests_requirements.txt
examples/tensorflow/_tests_requirements.txt
+1
-1
setup.py
setup.py
+3
-3
src/transformers/dependency_versions_table.py
src/transformers/dependency_versions_table.py
+3
-3
No files found.
.circleci/create_circleci_config.py
View file @
88dae78f
...
@@ -224,7 +224,7 @@ torch_job = CircleCIJob(
...
@@ -224,7 +224,7 @@ torch_job = CircleCIJob(
tf_job
=
CircleCIJob
(
tf_job
=
CircleCIJob
(
"tf"
,
"tf"
,
install_steps
=
[
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 --upgrade pip"
,
"pip install .[sklearn,tf-cpu,testing,sentencepiece,tf-speech,vision]"
,
"pip install .[sklearn,tf-cpu,testing,sentencepiece,tf-speech,vision]"
,
"pip install tensorflow_probability"
,
"pip install tensorflow_probability"
,
...
...
examples/tensorflow/_tests_requirements.txt
View file @
88dae78f
tensorflow<2.1
2
tensorflow<2.1
3
tensorboard
tensorboard
scikit-learn
scikit-learn
seqeval
seqeval
...
...
setup.py
View file @
88dae78f
...
@@ -165,9 +165,9 @@ _deps = [
...
@@ -165,9 +165,9 @@ _deps = [
"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 pin. When changing this value, update examples/tensorflow/_tests_requirements.txt accordingly
"tensorflow-cpu>=2.4,<2.1
2
"
,
"tensorflow-cpu>=2.4,<2.1
3
"
,
"tensorflow>=2.4,<2.1
2
"
,
"tensorflow>=2.4,<2.1
3
"
,
"tensorflow-text<2.1
2
"
,
"tensorflow-text<2.1
3
"
,
"tf2onnx"
,
"tf2onnx"
,
"timeout-decorator"
,
"timeout-decorator"
,
"timm"
,
"timm"
,
...
...
src/transformers/dependency_versions_table.py
View file @
88dae78f
...
@@ -70,9 +70,9 @@ deps = {
...
@@ -70,9 +70,9 @@ deps = {
"starlette"
:
"starlette"
,
"starlette"
:
"starlette"
,
"sudachipy"
:
"sudachipy>=0.6.6"
,
"sudachipy"
:
"sudachipy>=0.6.6"
,
"sudachidict_core"
:
"sudachidict_core>=20220729"
,
"sudachidict_core"
:
"sudachidict_core>=20220729"
,
"tensorflow-cpu"
:
"tensorflow-cpu>=2.4,<2.1
2
"
,
"tensorflow-cpu"
:
"tensorflow-cpu>=2.4,<2.1
3
"
,
"tensorflow"
:
"tensorflow>=2.4,<2.1
2
"
,
"tensorflow"
:
"tensorflow>=2.4,<2.1
3
"
,
"tensorflow-text"
:
"tensorflow-text<2.1
2
"
,
"tensorflow-text"
:
"tensorflow-text<2.1
3
"
,
"tf2onnx"
:
"tf2onnx"
,
"tf2onnx"
:
"tf2onnx"
,
"timeout-decorator"
:
"timeout-decorator"
,
"timeout-decorator"
:
"timeout-decorator"
,
"timm"
:
"timm"
,
"timm"
:
"timm"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment