Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
d7c62661
Commit
d7c62661
authored
Dec 17, 2019
by
Morgan Funtowicz
Browse files
Provide serving dependencies for tensorflow and pytorch (serving-tf, serving-torch)
parent
a096e2a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
setup.py
setup.py
+3
-1
No files found.
setup.py
View file @
d7c62661
...
@@ -38,7 +38,9 @@ from setuptools import find_packages, setup
...
@@ -38,7 +38,9 @@ from setuptools import find_packages, setup
extras
=
{
extras
=
{
'serving'
:
[
'uvicorn'
,
'fastapi'
]
'serving'
:
[
'uvicorn'
,
'fastapi'
],
'serving-tf'
:
[
'uvicorn'
,
'fastapi'
,
'tensorflow'
],
'serving-torch'
:
[
'uvicorn'
,
'fastapi'
,
'torch'
]
}
}
extras
[
'all'
]
=
[
package
for
package
in
extras
.
values
()]
extras
[
'all'
]
=
[
package
for
package
in
extras
.
values
()]
...
...
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