-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (61 loc) · 1.56 KB
/
pyproject.toml
File metadata and controls
71 lines (61 loc) · 1.56 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
[project]
name = "DataArc-SynData-Toolkit"
version = "0.1.0"
description = "Synthetic Data Generation Platfrom by DataArc"
readme = "README.md"
requires-python = "==3.11.13"
dependencies = [
# Core SDG dependencies
"datasets>=4.4.1",
"fastapi>=0.124.2",
"mineru[core]>=2.6.4",
"anthropic>=0.75.0",
"openai>=2.6.0",
"pymupdf>=1.26.5",
"python-dotenv>=1.1.1",
"pyyaml>=6.0.3",
"rank-bm25>=0.2.2",
"sentence-transformers>=5.1.2",
"tiktoken>=0.12.0",
"torch==2.8.0",
"torchaudio==2.8.0",
"torchvision==0.23.0",
"tqdm>=4.67.1",
"vllm>=0.11.0",
# Training dependencies
"pandas>=2.3.3",
"codetiming>=1.4.0",
"flash-attn>=2.8.3",
"hydra-core>=1.3.2",
"peft>=0.18.0",
"pyarrow>=22.0.0",
"ray[default]>=0.1.0",
"tensordict>=0.10.0",
"torchdata>=0.11.0",
"wandb>=0.23.1",
# Evaluation dependencies
"deepeval>=3.8.0",
# Build tools
"editables>=0.5",
"hatchling>=1.28.0",
]
[tool.uv]
no-build-isolation-package = ['flash-attn', 'setuptools']
[[tool.uv.index]]
url = "https://mirrors.aliyun.com/pypi/simple/"
default = true
[[tool.uv.index]]
name = "pytorch-cu128"
url = "https://download.pytorch.org/whl/cu128"
explicit = true
[tool.uv.sources]
torch = { index = "pytorch-cu128" }
torchvision = { index = "pytorch-cu128" }
torchaudio = { index = "pytorch-cu128" }
[project.scripts]
sdg = "sdgsystem.cli:cli"
[build-system]
requires = ["hatchling", "editables"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["sdgsystem", "verl"]