-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (64 loc) · 1.28 KB
/
pyproject.toml
File metadata and controls
69 lines (64 loc) · 1.28 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
[project]
name = "lenvm-workspace"
version = "0.1.0"
description = "LenVM workspace shared environment definitions"
requires-python = ">=3.12,<3.13"
dependencies = []
[dependency-groups]
infer = [
"jsonlines",
"tqdm",
"datasets<4",
"openai",
"matplotlib",
"sglang",
"flash-attn==2.8.3"
]
train = [
"torch==2.9.1",
"torchvision",
"trl",
"deepspeed>=0.10.0,<=0.18.4",
"wandb",
"peft",
"huggingface-hub",
"tensorboard",
"tensorboardX",
"nltk",
"jieba",
"rouge-chinese",
"llamafactory",
]
eval = [
"anthropic",
"openai",
"protobuf",
"torch==2.9.1",
"datasets<4",
"transformers",
"google-genai",
"numpy",
"accelerate",
"tiktoken",
"peft",
"pandas",
"math-verify",
"latex2sympy2-extended",
"matplotlib",
"wordcloud"
]
[tool.uv.workspace]
members = ["sglang-LenVM/python"]
[tool.uv]
default-groups = []
no-build-isolation-package = ["flash-attn"]
extra-build-dependencies = { sglang = ["setuptools", "setuptools-scm", "wheel", "grpcio-tools"] }
[[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"}]
llamafactory = { path = "./LlamaFactory-LenVM", editable = true }
sglang = { workspace = true }