-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (54 loc) · 1.58 KB
/
Copy pathpyproject.toml
File metadata and controls
57 lines (54 loc) · 1.58 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "agentflow-pro"
version = "0.1.0"
description = "Trainable multi-agent reasoning framework with DAPO + PRM"
requires-python = ">=3.11"
dependencies = [
"httpx>=0.28.0",
"openai>=1.75.0",
"pydantic>=2.11.0",
"rich>=13.9.0",
"typer>=0.15.0",
"python-dotenv>=1.1.0",
"tavily-python>=0.5.0",
"sympy>=1.13.0",
"numpy>=2.0.0",
]
[project.optional-dependencies]
tools = [
"fastmcp>=2.3.0",
]
eval = [
"datasets>=3.5.0",
"math-verify>=0.5.0",
]
memory = [
"qdrant-client>=1.14.0",
"sentence-transformers>=3.4.0",
]
rl = [
# DAPO lives in TRL (loss_type="dapo" is the default; clip-higher via
# epsilon_high, soft overlong punishment via trl.rewards). The policy is
# trained as bf16 + a PEFT LoRA adapter — NO unsloth/bitsandbytes, which keeps
# the dependency set small and reproducible (a 48GB GPU fits the 8B in bf16).
# transformers is pinned <5: the 5.x line breaks trl/peft (validated 2026-05).
"transformers>=4.55.0,<5.0",
"trl>=1.5.0,<2.0",
"peft>=0.17.0",
"torch>=2.6.0",
# torch's Linux CUDA wheels need cuSPARSELt at runtime; pin it explicitly so a
# lock generated on a non-CUDA box (macOS) still installs it on the Linux GPU.
"nvidia-cusparselt-cu12; sys_platform == 'linux'",
"accelerate>=1.6.0",
"datasets>=3.5.0",
]
dev = [
"pytest>=8.3.0",
"pytest-asyncio>=0.25.0",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["core*", "rl*", "tools*", "eval*", "train*"]