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
8d171628
Unverified
Commit
8d171628
authored
May 28, 2021
by
Lysandre Debut
Committed by
GitHub
May 28, 2021
Browse files
Test optuna and ray (#11924)
parent
af1a10bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
setup.py
setup.py
+7
-0
src/transformers/dependency_versions_table.py
src/transformers/dependency_versions_table.py
+2
-0
No files found.
setup.py
View file @
8d171628
...
...
@@ -112,6 +112,7 @@ _deps = [
"onnxconverter-common"
,
"onnxruntime-tools>=1.4.2"
,
"onnxruntime>=1.4.0"
,
"optuna"
,
"packaging"
,
"parameterized"
,
"protobuf"
,
...
...
@@ -121,6 +122,7 @@ _deps = [
"pytest-sugar"
,
"pytest-xdist"
,
"python>=3.6.0"
,
"ray"
,
"recommonmark"
,
"regex!=2019.12.17"
,
"requests"
,
...
...
@@ -239,6 +241,10 @@ extras["modelcreation"] = deps_list("cookiecutter")
extras
[
"sagemaker"
]
=
deps_list
(
"sagemaker"
)
extras
[
"deepspeed"
]
=
deps_list
(
"deepspeed"
)
extras
[
"fairscale"
]
=
deps_list
(
"fairscale"
)
extras
[
"optuna"
]
=
deps_list
(
"optuna"
)
extras
[
"ray"
]
=
deps_list
(
"ray"
)
extras
[
"integrations"
]
=
extras
[
"optuna"
]
+
extras
[
"ray"
]
extras
[
"serving"
]
=
deps_list
(
"pydantic"
,
"uvicorn"
,
"fastapi"
,
"starlette"
)
extras
[
"speech"
]
=
deps_list
(
"soundfile"
,
"torchaudio"
)
...
...
@@ -263,6 +269,7 @@ extras["all"] = (
+
extras
[
"tokenizers"
]
+
extras
[
"speech"
]
+
extras
[
"vision"
]
+
extras
[
"integrations"
]
)
extras
[
"docs_specific"
]
=
deps_list
(
...
...
src/transformers/dependency_versions_table.py
View file @
8d171628
...
...
@@ -29,6 +29,7 @@ deps = {
"onnxconverter-common"
:
"onnxconverter-common"
,
"onnxruntime-tools"
:
"onnxruntime-tools>=1.4.2"
,
"onnxruntime"
:
"onnxruntime>=1.4.0"
,
"optuna"
:
"optuna"
,
"packaging"
:
"packaging"
,
"parameterized"
:
"parameterized"
,
"protobuf"
:
"protobuf"
,
...
...
@@ -38,6 +39,7 @@ deps = {
"pytest-sugar"
:
"pytest-sugar"
,
"pytest-xdist"
:
"pytest-xdist"
,
"python"
:
"python>=3.6.0"
,
"ray"
:
"ray"
,
"recommonmark"
:
"recommonmark"
,
"regex"
:
"regex!=2019.12.17"
,
"requests"
:
"requests"
,
...
...
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