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
4989e73e
Unverified
Commit
4989e73e
authored
Nov 16, 2023
by
Matt
Committed by
GitHub
Nov 16, 2023
Browse files
Update the TF pin for 2.15 (#27375)
* Move the TF pin for 2.15 * make fixup
parent
69c9b89f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
examples/tensorflow/_tests_requirements.txt
examples/tensorflow/_tests_requirements.txt
+2
-2
setup.py
setup.py
+4
-4
src/transformers/dependency_versions_table.py
src/transformers/dependency_versions_table.py
+4
-4
No files found.
examples/tensorflow/_tests_requirements.txt
View file @
4989e73e
tensorflow<2.1
5
keras<2.1
5
tensorflow<2.1
6
keras<2.1
6
tensorboard
scikit-learn
seqeval
...
...
setup.py
View file @
4989e73e
...
...
@@ -127,7 +127,7 @@ _deps = [
"jieba"
,
"kenlm"
,
# Keras pin - this is to make sure Keras 3 doesn't destroy us. Remove or change when we have proper support.
"keras<2.1
5
"
,
"keras<2.1
6
"
,
"keras-nlp>=0.3.1"
,
"librosa"
,
"nltk"
,
...
...
@@ -169,9 +169,9 @@ _deps = [
"sudachidict_core>=20220729"
,
"tensorboard"
,
# TensorFlow pin. When changing this value, update examples/tensorflow/_tests_requirements.txt accordingly
"tensorflow-cpu>=2.6,<2.1
5
"
,
"tensorflow>=2.6,<2.1
5
"
,
"tensorflow-text<2.1
5
"
,
"tensorflow-cpu>=2.6,<2.1
6
"
,
"tensorflow>=2.6,<2.1
6
"
,
"tensorflow-text<2.1
6
"
,
"tf2onnx"
,
"timeout-decorator"
,
"timm"
,
...
...
src/transformers/dependency_versions_table.py
View file @
4989e73e
...
...
@@ -33,7 +33,7 @@ deps = {
"jaxlib"
:
"jaxlib>=0.4.1,<=0.4.13"
,
"jieba"
:
"jieba"
,
"kenlm"
:
"kenlm"
,
"keras"
:
"keras<2.1
5
"
,
"keras"
:
"keras<2.1
6
"
,
"keras-nlp"
:
"keras-nlp>=0.3.1"
,
"librosa"
:
"librosa"
,
"nltk"
:
"nltk"
,
...
...
@@ -74,9 +74,9 @@ deps = {
"sudachipy"
:
"sudachipy>=0.6.6"
,
"sudachidict_core"
:
"sudachidict_core>=20220729"
,
"tensorboard"
:
"tensorboard"
,
"tensorflow-cpu"
:
"tensorflow-cpu>=2.6,<2.1
5
"
,
"tensorflow"
:
"tensorflow>=2.6,<2.1
5
"
,
"tensorflow-text"
:
"tensorflow-text<2.1
5
"
,
"tensorflow-cpu"
:
"tensorflow-cpu>=2.6,<2.1
6
"
,
"tensorflow"
:
"tensorflow>=2.6,<2.1
6
"
,
"tensorflow-text"
:
"tensorflow-text<2.1
6
"
,
"tf2onnx"
:
"tf2onnx"
,
"timeout-decorator"
:
"timeout-decorator"
,
"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