-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
61 lines (54 loc) · 1.08 KB
/
pyproject.toml
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
[build-system]
requires = ["scikit-build-core>=0.3.3", "torch >= 2.2"]
build-backend = "scikit_build_core.build"
[project]
name = "driss_torch"
version = "0.0.1"
authors = [{ name = "Driss Guessous", email = "[email protected]" }]
description = "Simple cuda-based pytorch extensions"
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"torch >= 2.2",
"tqdm",
"tabulate",
]
[project.optional-dependencies]
dev = [
"ruff",
"bumpver",
"pip-tools",
"pytest",
"transformer_nuggets",
]
[tool.scikit-build]
cmake.verbose = true
logging.level = "INFO"
cmake.build-type = "RelWithDebInfo"
build-dir = "build"
[tool.scikit-build.cmake.define]
TORCH_CUDA_ARCH_LIST="9.0"
[tool.usort]
first_party_detection = false
[tool.black]
target-version = ["py38"]
line-length = 99
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''