-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (84 loc) · 1.81 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (84 loc) · 1.81 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
[project]
name = "gpt-lab"
version = "0.1.0"
description = "Library for training and serving LLMs from scratch, with local and Hugging Face interfaces."
readme = "README.md"
requires-python = ">=3.12,<3.13"
authors = [
{name = "art-test-stack"}
]
dependencies = [
"datasets==4.8.4",
"gradio==3.18.0",
"jinja2==3.1.6",
"kernels==0.11.7",
"msgpack>=1.1.2",
"numpy==2.4.3",
"psutil==7.2.2",
"pydantic==2.12.5",
"requests==2.32.5",
"rich==14.2.0",
"tiktoken==0.12.0",
"tokenizers==0.22.1",
"torch==2.9.1",
"tqdm==4.67.1",
"transformers>=5.6.2",
"urllib3==2.6.2",
"uvicorn==0.40.0",
"wandb==0.25.1",
]
[project.urls]
homepage = "https://github.com/art-test-stack/gpt-lab"
repository = "https://github.com/art-test-stack/gpt-lab"
[project.optional-dependencies]
cpu = [
"torch==2.9.1",
]
gpu = [
"torch==2.9.1",
]
[dependency-groups]
dev = [
"pytest==8.0",
"huggingface-hub==1.12.0",
"matplotlib==3.10.8",
]
notebook = [
"ipykernel>=7.2.0",
"jupyter>=1.1.1",
]
[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.uv]
managed = true
package = true
default-groups = []
conflicts = [
[
{ extra = "cpu" },
{ extra = "gpu" },
],
]
[tool.uv.sources]
torch = [
{ index = "pytorch-cpu", extra = "cpu" },
{ index = "pytorch-cu128", extra = "gpu" },
]
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[[tool.uv.index]]
name = "pytorch-cu128"
url = "https://download.pytorch.org/whl/cu128"
explicit = true