-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (68 loc) · 1.35 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (68 loc) · 1.35 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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ncpu"
version = "0.2.0"
description = "Neural CPU: every CPU component replaced by trained neural networks"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [{name = "Robert Price"}]
dependencies = []
[project.scripts]
ncpu = "ncpu.__main__:main"
ncpu-lab = "ncpu.lab:main"
[project.optional-dependencies]
demo = [
"torch>=2.4.0",
"torchvision>=0.20.1",
"numpy",
"tqdm>=4.66.0",
]
neural = [
"torch>=2.4.0",
"torchvision>=0.20.1",
"numpy",
"tqdm>=4.66.0",
]
model = [
"torch>=2.4.0",
"torchvision>=0.20.1",
"transformers>=5.3.0",
"peft>=0.6.0",
"tqdm>=4.66.0",
]
tensor = [
"torch>=2.4.0",
"torchvision>=0.20.1",
"numpy",
]
train = [
"torch>=2.4.0",
"torchvision>=0.20.1",
"transformers>=5.3.0",
"peft>=0.6.0",
"datasets>=2.14.0",
"accelerate>=0.24.0",
"tqdm>=4.66.0",
]
full = [
"torch>=2.4.0",
"torchvision>=0.20.1",
"numpy",
"transformers>=5.3.0",
"peft>=0.6.0",
"datasets>=2.14.0",
"accelerate>=0.24.0",
"tqdm>=4.66.0",
]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
[tool.setuptools.packages.find]
include = ["ncpu*"]