-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (36 loc) · 868 Bytes
/
pyproject.toml
File metadata and controls
42 lines (36 loc) · 868 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
32
33
34
35
36
37
38
39
40
41
42
[build-system]
requires = ["hatchling>=1.21.1"]
build-backend = "hatchling.build"
[project]
name = "llmc"
version = "0.1.0"
description = "LLM-based text compression via token rank encoding"
authors = [{ name = "Yi Pan", email = "conlesspan@outlook.com" }]
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"numpy",
"tqdm",
"fastapi",
"uvicorn[standard]",
"batch-invariant-ops",
"vllm",
"brotli",
"leb128",
]
[project.optional-dependencies]
test = [
"pytest",
]
[project.scripts]
llmc = "llmc.entrypoint.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["llmc"]
[tool.uv.sources]
batch-invariant-ops = { path = "third_party/batch_invariant_ops", editable = true }
vllm = { path = "third_party/vllm", editable = true }
[tool.pytest.ini_options]
env = [
"PYTEST_DISABLE_PLUGIN_AUTOLOAD=1",
"LLMC_MODEL=Qwen/Qwen3-0.6B",
]