-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (42 loc) · 1.5 KB
/
pyproject.toml
File metadata and controls
50 lines (42 loc) · 1.5 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "semafold"
version = "0.2.0"
description = "Phase 1 incubating vector-first compression package with measured accounting and explicit evidence."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
authors = [{ name = "Mindtro GmbH", email = "team@mindtro.com" }]
dependencies = ["numpy>=1.26"]
keywords = ["compression", "vectors", "quantization", "ai", "gpu", "cuda", "mlx", "metal", "kv-cache", "embeddings"]
classifiers = ["License :: OSI Approved :: Apache Software License"]
[project.urls]
Homepage = "https://github.com/mindtro/semafold"
Repository = "https://github.com/mindtro/semafold"
Changelog = "https://github.com/mindtro/semafold/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = ["build>=1.2", "pyright>=1.1", "pytest>=9"]
torch = ["torch>=2.0"]
mlx = ["mlx>=0.5"]
all = ["torch>=2.0", "mlx>=0.5"]
[tool.hatch.build]
exclude = [".pytest_cache/**", "**/__pycache__/**", "**/*.py[cod]"]
[tool.hatch.build.targets.wheel]
packages = ["src/semafold"]
[tool.pytest.ini_options]
addopts = "-ra --strict-config --strict-markers --tb=short"
testpaths = ["tests"]
xfail_strict = true
[tool.pyright]
pythonVersion = "3.10"
include = ["src", "tests", "examples", "benchmarks"]
ignore = [
"src/semafold/turboquant/backends/_torch.py",
"src/semafold/turboquant/backends/_mlx.py",
"src/semafold/turboquant/backends/_registry.py",
]
typeCheckingMode = "basic"
venvPath = "."
venv = ".venv"