Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (52 loc) · 1.84 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (52 loc) · 1.84 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
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "kernel-ledger"
version = "0.1.0"
description = "Per-launch accounting for LLM inference on GPUs"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE"]
authors = [{name = "ZacharyZcR"}]
requires-python = ">=3.9"
keywords = ["cuda", "gpu", "llm", "profiling", "vllm", "cupti", "perfetto"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Benchmark",
"Topic :: System :: Hardware",
]
[project.urls]
Homepage = "https://github.com/VirtualGPU/Ledger"
Repository = "https://github.com/VirtualGPU/Ledger"
Issues = "https://github.com/VirtualGPU/Ledger/issues"
[project.optional-dependencies]
dataflow = ["numpy"]
[project.scripts]
ledger = "ledger.cli:main"
[project.entry-points."vllm.general_plugins"]
ledger = "ledger.vllm_plugin:register"
[project.entry-points."sglang.srt.plugins"]
ledger = "ledger.sglang_plugin:register"
[tool.setuptools]
packages = ["ledger", "ledger._capture", "ledger._access", "ledger._bench", "ledger._examples"]
[tool.setuptools.package-dir]
"ledger._capture" = "capture"
"ledger._access" = "access"
"ledger._bench" = "bench"
"ledger._examples" = "examples"
[tool.setuptools.package-data]
"ledger._capture" = ["Makefile", "ledger_cupti.cc"]
"ledger._access" = ["Makefile", "tracer.cpp", "access.h", "patches.cu"]
"ledger._bench" = ["bwtest.cu", "flops.py"]
"ledger._examples" = ["vllm_decode.py"]
[tool.pytest.ini_options]
testpaths = ["tests"]