-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
63 lines (58 loc) · 1.41 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
62
63
[build-system]
requires = [
"setuptools>=61.0",
"wheel",
"build",
"torch",
"numpy",
"ninja",
]
build-backend = "setuptools.build_meta"
[project]
name = "toploc"
dynamic = ["version"]
authors = [
{name = "Jack Min Ong", email = "ongjackm@gmail.com"},
]
description = "Lib for generating model inference and training proofs"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"torch",
"numpy",
]
[project.urls]
Documentation = "https://github.com/PrimeIntellect-ai/toploc"
Repository = "https://github.com/PrimeIntellect-ai/toploc"
Issues = "https://github.com/PrimeIntellect-ai/toploc/issues"
[tool.uv]
dev-dependencies = [
"ruff",
"pre-commit",
"pytest",
"pytest-cov"
]
[tool.setuptools.dynamic]
version = {attr = "toploc.__version__"}
[tool.cibuildwheel.linux]
repair-wheel-command = """
auditwheel repair \
--exclude libc10.so \
--exclude libcaffe2_nvrtc.so \
--exclude libshm.so \
--exclude libtorch_cpu.so \
--exclude libtorch_cuda_linalg.so \
--exclude libtorch_python.so \
--exclude libc10_cuda.so \
--exclude libgomp-a34b3233.so.1 \
--exclude libtorch.so \
--exclude libtorch_cuda.so \
--exclude libtorch_global_deps.so \
-w {dest_dir} {wheel}
"""