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
31921d8d
"vscode:/vscode.git/clone" did not exist on "5938f31fa7aa28cdff662f79c7c038cab21bb370"
Unverified
Commit
31921d8d
authored
Apr 23, 2024
by
Joao Gante
Committed by
GitHub
Apr 23, 2024
Browse files
Jax: scipy version pin (#30402)
scipy pin for jax
parent
2d61823f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
setup.py
setup.py
+2
-1
src/transformers/dependency_versions_table.py
src/transformers/dependency_versions_table.py
+1
-0
No files found.
setup.py
View file @
31921d8d
...
...
@@ -161,6 +161,7 @@ _deps = [
"safetensors>=0.4.1"
,
"sagemaker>=2.31.0"
,
"scikit-learn"
,
"scipy<1.13.0"
,
# SciPy >= 1.13.0 is not supported with the current jax pin (`jax>=0.4.1,<=0.4.13`)
"sentencepiece>=0.1.91,!=0.1.92"
,
"sigopt"
,
"starlette"
,
...
...
@@ -267,7 +268,7 @@ if os.name == "nt": # windows
extras
[
"flax"
]
=
[]
# jax is not supported on windows
else
:
extras
[
"retrieval"
]
=
deps_list
(
"faiss-cpu"
,
"datasets"
)
extras
[
"flax"
]
=
deps_list
(
"jax"
,
"jaxlib"
,
"flax"
,
"optax"
)
extras
[
"flax"
]
=
deps_list
(
"jax"
,
"jaxlib"
,
"flax"
,
"optax"
,
"scipy"
)
extras
[
"tokenizers"
]
=
deps_list
(
"tokenizers"
)
extras
[
"ftfy"
]
=
deps_list
(
"ftfy"
)
...
...
src/transformers/dependency_versions_table.py
View file @
31921d8d
...
...
@@ -67,6 +67,7 @@ deps = {
"safetensors"
:
"safetensors>=0.4.1"
,
"sagemaker"
:
"sagemaker>=2.31.0"
,
"scikit-learn"
:
"scikit-learn"
,
"scipy"
:
"scipy<1.13.0"
,
"sentencepiece"
:
"sentencepiece>=0.1.91,!=0.1.92"
,
"sigopt"
:
"sigopt"
,
"starlette"
:
"starlette"
,
...
...
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