-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (50 loc) · 1.31 KB
/
pyproject.toml
File metadata and controls
56 lines (50 loc) · 1.31 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
[build-system]
requires = ["setuptools>=61.0", "wheel", "pybind11>=2.11"]
build-backend = "setuptools.build_meta"
[project]
name = "sloth"
version = "0.1.0"
description = "CUDA Operators Learning Project with cuTe, Triton, and CUTLASS implementations"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [
{name = "Sloth Authors"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: C++",
"Programming Language :: CUDA",
]
dependencies = [
"torch>=2.0.0",
"numpy>=1.24.0",
"triton>=2.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-benchmark>=4.0.0",
"pytest-cov>=4.0.0",
"pyyaml>=6.0",
"tabulate>=0.9.0",
"rich>=13.0.0",
]
[tool.setuptools.packages.find]
where = ["common/python"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "C4"]