-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (44 loc) · 1.45 KB
/
setup.py
File metadata and controls
48 lines (44 loc) · 1.45 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
import setuptools
install_requires = [
"graphviz>=0.20.1",
"pytest",
"litellm==1.75.0",
"aiohttp>=3.9,<3.13",
"black",
"scikit-learn",
"tensorboardX",
"tensorboard",
"pyyaml",
]
# Optional dependencies for external trainers in trace_bench/trainers/.
# Install a group with: pip install trace-bench[<key>]
# Install everything: pip install trace-bench[all-external]
extras_require: dict = {
# External trainers (trace_bench/trainers/)
# "skeleton": ["skeleton-lib>=x.y"], # template — replace with real packages
# HuggingFace QA benchmark suite (benchmarks/hf_qa/)
"hf": ["datasets>=2.0"],
}
extras_require["all-external"] = sorted(
{pkg for pkgs in extras_require.values() for pkg in pkgs}
)
setuptools.setup(
name="trace-bench",
version="0.4.0",
author="Trace Team",
author_email="chinganc0@gmail.com, aimingnie@gmail.com, adith387@gmail",
url="https://github.com/AgentOpt/Trace-Bench",
license="MIT",
description="Benchmarking framework for AI optimization algorithms built on OpenTrace",
long_description=open("README.md", encoding="utf8").read(),
long_description_content_type="text/markdown",
packages=setuptools.find_packages(include=["trace_bench*"]),
install_requires=install_requires,
extras_require=extras_require,
python_requires=">=3.9",
entry_points={
"console_scripts": [
"trace-bench=trace_bench.cli:main",
]
},
)