[deps] Grouped deps & setup vcs

This commit is contained in:
OleehyO
2025-04-23 04:48:27 +00:00
parent 9a388cdfc5
commit d5938c6a2a

View File

@@ -24,6 +24,9 @@ dependencies = [
"torchvision>=0.21.0",
"transformers==4.45.2",
"wget>=3.2",
"optimum[onnxruntime]>=1.24.0",
"python-multipart>=0.0.20",
"ray[serve]>=2.44.1",
]
[tool.hatch.version]
@@ -62,16 +65,9 @@ packages = ["texteller"]
texteller = "texteller.cli:cli"
[project.optional-dependencies]
onnxruntime = [
"optimum[onnxruntime]>=1.24.0",
]
onnxruntime-gpu = [
"onnxruntime-gpu>=1.21.0",
]
server = [
"python-multipart>=0.0.20",
"ray[serve]>=2.44.1",
]
test = [
"pytest>=8.3.5",
]