-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (44 loc) · 1.06 KB
/
pyproject.toml
File metadata and controls
50 lines (44 loc) · 1.06 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "humming-kernels"
version = "0.1.4"
description = "Quantization GEMM Kernel"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"torch>=2.7",
"triton",
"numpy",
"safetensors",
"jinja2",
"pyelftools",
"nvidia-ml-py",
"cuda-bindings",
"tqdm",
"tabulate"
]
[project.optional-dependencies]
cu12 = [
"nvidia-cuda-runtime-cu12",
"nvidia-cuda-cccl-cu12",
"nvidia-cuda-nvcc-cu12",
"nvidia-cuda-nvrtc-cu12",
]
cu13 = [
"nvidia-cuda-runtime",
"nvidia-cuda-cccl",
"nvidia-cuda-nvcc",
"nvidia-cuda-nvrtc",
]
[tool.setuptools]
include-package-data = true
packages = {find = {include = ["humming", "humming.*"]}}
[tool.setuptools.package-data]
"*" = ["**/*.cu", "**/*.cuh", "**/*.cpp", "**/*.h", "**/*.hpp", "**/*.cc"]
[tool.ruff]
line-length = 100
[tool.mypy]
disable_error_code = ["no-untyped-call", "no-untyped-def", "type-arg", "untyped-decorator", "no-any-return"]
ignore_missing_imports = true