-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (69 loc) · 2.77 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (69 loc) · 2.77 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[project]
name = "cacheroute"
version = "0.1.9"
description = "Compute-network-aware LLM scheduling for flexible KV cache reuse across vLLM and LMCache systems."
authors = [
{ name = "xxx" }
]
readme = "README.md"
requires-python = ">=3.10"
license = { text = "Apache-2.0" }
# This is the lightweight Python package install surface. Install
# requirements.txt for the complete CacheRoute application and development
# environment; serving-image packages such as PyTorch, vLLM, and LMCache remain
# managed by the CUDA-compatible runtime image.
dependencies = [
"fastapi>=0.115.0",
"uvicorn",
"jupyter_client",
"aiohttp>=3.9.0",
"pydantic>=2.6.0",
"pyyaml>=6.0.0",
"jinja2>=3.1.0",
]
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"httpx>=0.27.0",
"black>=24.0.0",
"isort>=5.13.0",
"mypy>=1.11.0",
]
[tool.setuptools]
# Transitional package map. Repository-only namespaces are excluded, while
# root runtime packages remain explicitly installed pending focused migrations.
package-dir = {cacheroute = "src/cacheroute", cacheroute_compat = "src/cacheroute_compat"}
packages = [
"cacheroute", "cacheroute.compat", "cacheroute.observability", "cacheroute.observability.v1",
"cacheroute.runtime", "cacheroute.topology", "cacheroute.cache", "cacheroute.routing",
"cacheroute.contracts", "cacheroute.contracts.v1",
"cacheroute_compat",
"UI", "UI.client_ui", "UI.client_ui.static", "UI.client_ui.templates",
"UI.kdn_ui", "UI.proxy_ui", "UI.proxy_ui.static",
"client", "client.taskset", "core", "data", "data.CacheRoute_dataset",
"data.CacheRoute_dataset.knowledge_document", "instance", "instance.TPOT_predictor",
"instance.TTFT_predictor", "instance.TTFT_predictor.data", "instance.pclient",
"instance.resource_agent", "instance.resource_agent.src",
"instance.resource_dashboard", "instance.resource_dashboard.static",
"kdn_server", "kdn_server.KV_database", "kdn_server.contracts",
"kdn_server.domain", "kdn_server.gateway", "kdn_server.sclient",
"kdn_server.text_database", "kdn_server.text_database.blocks",
"kdn_server.util", "model", "proxy",
"proxy.metrics", "proxy.metrics.data", "proxy.queue", "proxy.resource",
"proxy.sclient", "proxy.strategy", "scheduler", "scheduler.knowledge",
"scheduler.resource", "scheduler.strategy", "store", "util",
]
[tool.setuptools.package-data]
"UI.client_ui" = ["static/*", "templates/*"]
"UI.proxy_ui" = ["static/*"]
"instance.resource_dashboard" = ["static/*"]
"instance.TTFT_predictor" = ["data/*.md", "data/*.txt"]
"proxy.metrics" = ["*.json", "data/*.json", "data/*.txt"]
model = ["*.yaml"]
[tool.pytest.ini_options]
markers = [
"network: requires external package indexes or a complete local wheelhouse",
]