-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpyproject.toml
More file actions
122 lines (104 loc) · 2.14 KB
/
pyproject.toml
File metadata and controls
122 lines (104 loc) · 2.14 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
116
117
118
119
120
121
122
[build-system]
requires = ["setuptools>=65", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "AgentJet"
version = "0.0.4"
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,<3.13"
dependencies = [
"agentscope==1.0.7",
"chromadb",
"httpx[http2]",
"tenacity",
"loguru",
"debugpy",
"gymnasium[toy_text]",
"swanlab",
"modelscope>=1.18.1",
"pydantic",
"beast-logger>=0.1.3",
"pytest>=8.0.0",
"hydra-core",
"cachetools",
"datasets>=4",
"pip",
]
[project.optional-dependencies]
verl = [
"verl[vllm]==0.7.1",
"vllm==0.11.0",
"transformers==4.57.6"
]
trinity = [
"trinity-rft[vllm]==0.4.0"
]
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",
"langchain>=1.2.3",
]
reward = [
"rm_gallery>=0.1.5",
]
flash_attn = [
"flash-attn==2.8.3"
]
docs = [
"mkdocs",
"mkdocs-autorefs",
"mkdocs-get-deps",
"mkdocstrings-python",
"mkdocs-shadcn",
"mkdocstrings",
]
# To build and serve docs, run:
# uv pip install -e .[docs]
# mkdocs serve -a 127.0.0.1:8080
[project.scripts]
ajet = "ajet.launcher:main"
ajet-swarm = "ajet.swarm_cli:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["ajet*"]
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/AgentJet"