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
c5f3149f
"tensorflow_code/create_pretraining_data.py" did not exist on "13ee61e4deaa70dfcf9d4498b3ac986da8b0e417"
Unverified
Commit
c5f3149f
authored
Oct 27, 2020
by
Sylvain Gugger
Committed by
GitHub
Oct 27, 2020
Browse files
Adjust setup so that all extras run on Windows (#8102)
parent
995006ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
setup.py
setup.py
+4
-1
No files found.
setup.py
View file @
c5f3149f
...
...
@@ -89,9 +89,12 @@ extras["tf-cpu"] = [
]
extras
[
"torch"
]
=
[
"torch>=1.0"
]
extras
[
"flax"
]
=
[
"jaxlib==0.1.55"
,
"jax>=0.2.0"
,
"flax==0.2.2"
]
if
os
.
name
==
"nt"
:
# windows
extras
[
"retrieval"
]
=
[
"datasets"
]
# faiss is not supported on windows
extras
[
"flax"
]
=
[]
# jax is not supported on windows
else
:
extras
[
"retrieval"
]
=
[
"faiss-cpu"
,
"datasets"
]
extras
[
"flax"
]
=
[
"jaxlib==0.1.55"
,
"jax>=0.2.0"
,
"flax==0.2.2"
]
extras
[
"tokenizers"
]
=
[
"tokenizers==0.9.2"
]
extras
[
"onnxruntime"
]
=
[
"onnxruntime>=1.4.0"
,
"onnxruntime-tools>=1.4.2"
]
...
...
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