-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (86 loc) · 2.19 KB
/
pyproject.toml
File metadata and controls
95 lines (86 loc) · 2.19 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gpu-runner"
version = "1.0.0"
description = "Production-ready GPU training and inference toolkit for PyTorch"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "GPU Runner Contributors"}
]
keywords = [
"pytorch",
"gpu",
"training",
"distributed",
"ddp",
"cuda",
"machine-learning",
"deep-learning"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
requires-python = ">=3.8"
dependencies = [
"torch>=2.0.0",
"pyyaml>=6.0",
"tqdm>=4.65.0",
"numpy>=1.24.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.3.0",
"pytest-xdist>=3.3.0",
"flake8>=6.0.0",
"black>=23.0.0",
"isort>=5.12.0",
]
monitoring = [
"tensorboard>=2.12.0",
]
wandb = [
"wandb>=0.15.0",
]
cutile = [
"cuda-tile>=1.0.0", # Requires CUDA Toolkit 13.1+
]
all = [
"gpu-runner[dev,monitoring,wandb]",
]
[project.scripts]
gpu-runner = "gpu_runner.cli:main"
gpu-train = "gpu_runner.cli:train"
gpu-infer = "gpu_runner.cli:infer"
gpu-schedule = "gpu_runner.cli:schedule"
[project.urls]
Homepage = "https://github.com/yourusername/gpu-runner-repo"
Documentation = "https://github.com/yourusername/gpu-runner-repo#readme"
Repository = "https://github.com/yourusername/gpu-runner-repo"
Issues = "https://github.com/yourusername/gpu-runner-repo/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["gpu_runner*", "src*"]
[tool.setuptools.package-data]
"*" = ["*.yaml", "*.json"]
[tool.black]
line-length = 100
target-version = ["py38", "py39", "py310", "py311"]
[tool.isort]
profile = "black"
line_length = 100
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --tb=short"