generated from sehoffmann/python-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (44 loc) · 1017 Bytes
/
pyproject.toml
File metadata and controls
51 lines (44 loc) · 1017 Bytes
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "dmlcloud"
description = "Painless distributed training with torch"
version = "0.4"
authors = [
{ name = "Sebastian Hoffmann", email = "shoffmann@bgc-jena.mpg.de"},
]
maintainers = [
{ name = "Sebastian Hoffmann", email = "shoffmann@bgc-jena.mpg.de"},
]
readme = "README.md"
license-files = ["LICENSE"]
requires-python = ">=3.10"
dependencies = [
"torch~=2.5",
"torchmetrics~=1.6",
"progress_table>=2.2.0",
"numpy",
"xarray",
"nvidia-ml-py",
"omegaconf~=2.3"
]
[project.urls]
Repository = "https://github.com/sehoffmann/dmlcloud"
[project.scripts]
dmlrun = "dmlcloud.run:main"
[dependency-groups]
dev = [
"pre-commit",
"pytest",
"coverage",
"sphinx",
"sphinx-rtd-theme",
"sphinx-autodoc-typehints",
]
[tool.black]
skip-string-normalization = true
line-length = 120
target-version = ["py310", "py311", "py312", "py313"]
[tool.uv]
python-preference = "managed"