forked from Dao-AILab/quack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (42 loc) · 1011 Bytes
/
pyproject.toml
File metadata and controls
50 lines (42 loc) · 1011 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "quack-kernels"
dynamic = ["version"]
requires-python = ">=3.10"
dependencies = [
"nvidia-cutlass-dsl>=4.4.1",
"torch",
"apache-tvm-ffi>=0.1.6,<0.2",
"torch-c-dlpack-ext",
]
[project.optional-dependencies]
cu13 = ["nvidia-cutlass-dsl[cu13]>=4.4.1"]
dev = [
"pre-commit",
"pytest",
"pytest-xdist",
"ruff",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["quack*"]
[tool.setuptools.dynamic]
version = {attr = "quack.__version__"}
[[tool.uv.index]]
name = "pytorch-cu130"
url = "https://download.pytorch.org/whl/cu130"
explicit = true
[tool.uv.sources]
torch = [
{ index = "pytorch-cu130", marker = "extra == 'cu13'" },
]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
ignore = [
"E731", # do not assign a lambda expression, use a def
"E741", # Do not use variables named 'I', 'O', or 'l'
"F841", # local variable is assigned to but never used
]