forked from agentscope-ai/Trinity-RFT
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
115 lines (105 loc) · 2.23 KB
/
pyproject.toml
File metadata and controls
115 lines (105 loc) · 2.23 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
103
104
105
106
107
108
109
110
111
112
113
114
115
[build-system]
requires = ["setuptools>=65", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "trinity-rft"
version = "0.2.0.dev0"
authors = [
{name="Trinity-RFT Team", email="trinity-rft@outlook.com"},
]
description = "Trinity-RFT: A Framework for Training Large Language Models with Reinforcement Fine-Tuning"
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
requires-python = ">=3.10"
dependencies = [
"verl==0.4.0",
"ray[default]>=2.45.0",
"vllm==0.9.1",
"tensordict==0.6.2",
"wandb",
"omegaconf",
"sqlalchemy",
"psycopg2-binary",
"networkx",
"latex2sympy2_extended",
"math_verify",
"ninja",
"fire",
"streamlit",
"flask",
"requests",
"tensorboard",
"openai",
"jsonlines",
"sortedcontainers",
]
[project.scripts]
trinity = "trinity.cli.launcher:main"
[project.optional-dependencies]
data = [
"py-data-juicer"
]
agent = [
"agentscope"
]
rm_gallery = [
"rm-gallery>=0.1.1"
]
dev = [
"pre-commit>=2.17.0",
"black>=23.7.0",
"flake8>=6.1.0",
"flake8-docstrings>=1.6.0",
"isort>=5.12.0",
"mypy>=1.7.0",
"pytest>=8.0.0",
"pytest-json-ctrf",
"parameterized",
]
doc = [
"sphinx",
"sphinx-autobuild",
"sphinx_rtd_theme",
"myst-parser",
]
flash_attn = [
"flash-attn==2.8.0.post2"
]
[tool.setuptools.packages.find]
where = ["."]
include = ["trinity*"]
exclude = ["tests*", "docs*", "scripts*"]
[tool.setuptools.package-data]
my_package = ["*.md", "*.rst"]
[tool.black]
line-length = 100
target-version = ["py310", "py311", "py312"]
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.github
| \.vscode
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
)/
'''
[tool.isort]
known_third_party = ["wandb"]
[project.urls]
"Homepage" = "https://github.com/modelscope/Trinity-RFT"
"Documentation" = "https://modelscope.github.io/Trinity-RFT/"