-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (68 loc) · 2.12 KB
/
pyproject.toml
File metadata and controls
80 lines (68 loc) · 2.12 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
[build-system]
requires = ["setuptools", "build", "wheel", "pybind11", "ninja"]
build-backend = "setuptools.build_meta"
[project]
name = "warpconvnet"
requires-python = ">=3.9"
authors = [{ name = "Chris Choy", email = "cchoy@nvidia.com" }]
description = "3D Point Cloud and Spatially Sparse Convolutional Networks Framework"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
]
dependencies = ["numpy", "jaxtyping", "pybind11", "msgpack"]
dynamic = ["version"]
[project.urls]
GitHub = "https://github.com/NVlabs/WarpConvNet"
Documentation = "https://nvlabs.github.io/WarpConvNet"
[project.optional-dependencies]
flash-attn = ["flash-attn"] # use `pip install flash-attn --no-build-isolation` when failing to install
torch-scatter = ["torch-scatter"] # follow the instruction on https://github.com/rusty1s/pytorch_scatter
dev = [
"ipdb",
"pre-commit",
"pytest",
"pytest-benchmark",
"pytest-cov",
]
docs = [
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
"pymdown-extensions",
]
models = [
"rich",
"h5py",
"wandb",
"hydra-core",
"omegaconf",
"lightning",
"torchmetrics",
]
all = [
"warpconvnet[dev]",
"warpconvnet[docs]",
"warpconvnet[models]",
]
[project.scripts]
warpconvnet-docs = "scripts.serve_docs:serve_docs"
warpconvnet-build-docs = "scripts.build_docs:build_docs"
[tool.setuptools.packages.find]
include = ["warpconvnet*", "scripts*"]
[tool.setuptools.package-data]
warpconvnet = ["csrc/*.cu", "csrc/*.cpp", "csrc/*.h", "csrc/*.hpp", "csrc/include/*.h", "csrc/include/**/*.h", "csrc/include/**/*.hpp"]
[tool.setuptools.dynamic]
version = { file = ["VERSION.md"] }
readme = { file = ["README.md"], content-type = "text/markdown" }
[tool.pytest.ini_options]
markers = [
"benchmark: mark test as a performance benchmark",
"slow: mark test as slow to run",
]