forked from aniemerg/atropos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (63 loc) · 1.27 KB
/
pyproject.toml
File metadata and controls
67 lines (63 loc) · 1.27 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
[project]
name = "atroposlib"
version = "0.3.0"
description = "Atropos: An Environment and Rollout handler for LLM RL"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"transformers",
"datasets",
"openai",
"aiohttp",
"tqdm",
"fastapi",
"uvicorn[standard]",
"tenacity",
"markdown",
"numpy",
"wandb",
"gymnasium",
"math-verify==0.7.0",
"jinja2",
"nltk",
"rich",
"polars",
"aiofiles",
"jsonlines",
"pydantic-cli",
"hf_transfer",
]
[project.scripts]
run-api = "atroposlib.cli.run_api:main"
inference-node-wandb-watcher = "atroposlib.cli.inference_node_wandb_watcher:main"
view-run = "atroposlib.cli.view_run:main"
view-run-multimodal = "atroposlib.cli.view_run_multimodal:main"
atropos-sft-gen = "atroposlib.cli.sft:main"
atropos-dpo-gen = "atroposlib.cli.dpo:main"
[project.optional-dependencies]
all = [
"atroposlib[dev,examples]"
]
rewardfns = [
"torch"
]
dev = [
"pytest",
"pytest-asyncio",
"pre-commit",
"black",
"flake8",
"isort",
"mypy",
"rich",
]
examples = [
"gradio",
"atroposlib[rewardfns]",
"langdetect"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["atroposlib"]