-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (30 loc) · 947 Bytes
/
Copy pathpyproject.toml
File metadata and controls
37 lines (30 loc) · 947 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
[project]
name = "llm_benchmark"
version = "0.1.0"
description = "A collection of python functions to benchmark llm projects"
authors = [{ name = "Matthew", email = "matthew.truscott@turintech.ai" }]
readme = "README.md"
requires-python = ">=3.8,<4.0"
dependencies = []
[project.scripts]
main = "main:main"
[dependency-groups]
dev = [
"pytest>=7.4.3,<8",
"pytest-benchmark>=4.0.0,<5",
"psutil>=5.9,<8",
"taskipy>=1.14.1,<2",
]
[tool.taskipy.tasks.test]
help = "Run unit tests (benchmarks skipped)"
cmd = "pytest --benchmark-skip tests/"
[tool.taskipy.tasks.benchmark]
help = "Run benchmarks and write metrics to artemis_results.csv"
cmd = "python artemis_scripts/benchmark.py --runs 3 --output artemis_results.csv"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/llm_benchmark"]
[tool.hatch.build.targets.wheel.force-include]
"main.py" = "main.py"