-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (46 loc) · 1.05 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (46 loc) · 1.05 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "memoryflow-lab"
version = "0.3.0"
description = "A reproducible LLM KV-cache memory co-design simulator"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "Doeon Kim" }]
dependencies = [
"fastapi>=0.115,<1",
"uvicorn>=0.30,<1",
]
[project.optional-dependencies]
dev = [
"build>=1.2,<2",
"httpx>=0.27,<1",
"mypy>=1.11,<3",
"pytest>=9.0.3,<10",
"pytest-cov>=5,<8",
"ruff>=0.9,<1",
]
measure = [
"numpy>=2,<3",
"torch>=2.8,<3",
]
[project.scripts]
memoryflow = "memoryflow.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/memoryflow"]
[tool.hatch.build.targets.wheel.force-include]
"site" = "memoryflow/site"
[tool.pytest.ini_options]
addopts = "-q --strict-markers --disable-warnings"
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM"]
[tool.mypy]
python_version = "3.11"
strict = true
packages = ["memoryflow"]