forked from opendatahub-io/MLServer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
31 lines (26 loc) · 794 Bytes
/
pyproject.toml
File metadata and controls
31 lines (26 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[tool.poetry]
name = "mlserver-huggingface"
version = "1.7.0.dev0"
description = "HuggingFace runtime for MLServer"
authors = ["Seldon Technologies Ltd. <hello@seldon.io>"]
license = "Apache-2.0"
readme = "README.md"
packages = [{include = "mlserver_huggingface"}]
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
mlserver = "*"
tensorflow = "*"
torch = "*"
tf-keras = ">=2.16.0"
pillow = "*"
optimum = {extras = ["onnxruntime"], version = ">=1.4,<2.0"}
onnxruntime = [
{ version = "<1.20.0", markers = "python_version < '3.10'" },
{ version = "*", markers = "python_version >= '3.10'" }
]
[tool.poetry.group.dev.dependencies]
mlserver = {path = "../..", develop = true}
transformers = ">=4.30,<5.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"