Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (91 loc) · 2.3 KB
/
Copy pathpyproject.toml
File metadata and controls
102 lines (91 loc) · 2.3 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "trajweave"
dynamic = ["version"]
description = "TrajWeave: a Multi-Agent LLM RL framework built on the VERL training backend"
license = {text = "Apache-2.0"}
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.10"
dependencies = [
"accelerate",
"cachetools",
"codetiming",
"datasets",
"dill",
"fastapi",
"hydra-core",
"numpy<2.0.0",
"packaging>=20.0",
"pandas",
"peft",
"pyarrow>=19.0.0",
"pybind11",
"pylatexenc",
"PyYAML",
"ray[default]>=2.41.0",
"tensorboard",
"tensordict>=0.8.0,<=0.10.0,!=0.9.0",
"torchdata",
"transformers",
"TransferQueue==0.1.8",
"uvicorn",
"wandb",
]
[project.optional-dependencies]
test = ["pytest", "pre-commit", "py-spy", "pytest-asyncio", "pytest-rerunfailures"]
gpu = ["liger-kernel", "flash-attn"]
math = ["math-verify"]
maporl = ["trl>=0.11,<1.0"]
vllm = ["tensordict>=0.8.0,<=0.10.0,!=0.9.0", "vllm>=0.8.5,<=0.12.0"]
sglang = ["tensordict>=0.8.0,<=0.10.0,!=0.9.0", "sglang[srt,openai]==0.5.8", "torch==2.9.1"]
mcore = ["mbridge"]
trtllm = ["tensorrt-llm>=1.2.0rc6"]
[project.urls]
Homepage = "https://github.com/OpenDCAI/TrajWeave"
Repository = "https://github.com/OpenDCAI/TrajWeave"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
isort = {known-first-party = ["verl", "trajweave"]}
select = ["E", "F", "UP", "B", "I", "G"]
ignore = [
"F405",
"F403",
"E731",
"B007",
"UP032",
"G004",
"UP045",
"UP035",
]
[tool.mypy]
pretty = true
ignore_missing_imports = true
explicit_package_bases = true
follow_imports = "skip"
ignore_errors = true
[[tool.mypy.overrides]]
module = [
"verl.trainer.config.algorithm",
"verl.trainer.ppo.core_algos",
"verl.trainer.ppo.reward",
"verl.workers.reward_manager",
"verl.workers.reward_manager.*",
]
ignore_errors = false
[tool.setuptools]
include-package-data = true
license-files = ["LICENSE", "Notice.txt", "licenses/*.txt"]
[tool.setuptools.dynamic]
version = {file = "verl/version/version"}
[tool.setuptools.package-dir]
"" = "."
[tool.setuptools.package-data]
verl = [
"version/*",
"trainer/config/*.yaml",
"trainer/config/*/*.yaml",
"experimental/*/config/*.yaml",
]