forked from vllm-project/production-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (54 loc) · 1.39 KB
/
pyproject.toml
File metadata and controls
61 lines (54 loc) · 1.39 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[project]
name = "vllm-router"
dynamic = ["version"]
description = "The router for vLLM"
readme = "README.md"
requires-python = ">=3.12"
license = {text = "Apache-2.0"}
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
]
# Should be the same as src/vllm_router/requirements.txt
dependencies = [
"aiofiles==24.1.0",
"fastapi==0.115.8",
"httpx==0.28.1",
"kubernetes==32.0.0",
"numpy==1.26.4",
"prometheus-client==0.21.1",
"python-multipart==0.0.20",
"sentry-sdk[fastapi,httpx]==2.27.0",
"uhashring==2.3",
"uvicorn==0.34.0",
"xxhash==3.5.0",
]
[project.scripts]
vllm-router = "vllm_router.app:main"
[project.urls]
Repository = "https://github.com/vllm-project/production-stack"
[project.optional-dependencies]
default = [] # leave this empty because pip requires at least one specifier
semantic_cache = [
"sentence-transformers==2.2.2",
"faiss-cpu==1.10.0",
"huggingface-hub==0.25.2", # downgrade to 0.25.2 to avoid breaking changes
]
lmcache = [
"lmcache==0.2.1",
]
[build-system]
requires = ["setuptools>=68", "setuptools_scm[toml]>=8.0"]
[tool.setuptools_scm]
write_to = "src/vllm_router/_version.py"
[tool.isort]
profile = "black"
[dependency-groups]
lint = [
"pre-commit>=4.1.0",
]
test = [
"pytest>=8.3.4",
"pytest-asyncio>=0.25.3"
]