forked from abetlen/ggml-python
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
61 lines (55 loc) · 1.62 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
[build-system]
requires = ["scikit-build-core[pyproject]>=0.5.1"]
build-backend = "scikit_build_core.build"
[project]
name = "ggml_python"
dynamic = ["version"]
description = "Python bindings for ggml"
readme = "README.md"
license = { text = "MIT" }
authors = [
{ name = "Andrei Betlen", email = "[email protected]" },
]
requires-python = ">=3.7"
dependencies = [
"numpy>=1.20.0",
"typing_extensions>=4.6.3",
"importlib_resources>=6.4.0; python_version < '3.9'",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[tool.scikit-build]
wheel.packages = ["ggml"]
wheel.expand-macos-universal-tags = true
cmake.verbose = true
cmake.minimum-version = "3.21"
minimum-version = "0.5.1"
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.regex"
input = "ggml/__init__.py"
[tool.pytest.ini_options]
addopts = "--ignore=vendor"
testpaths = "tests"
[project.optional-dependencies]
test = ["pytest"]
docs = ["mkdocs", "mkdocstrings[python]", "mkdocs-material", "pillow", "cairosvg"]
publish = ["build"]
convert = [
"accelerate==0.30.1",
"numpy==1.26.4",
"sentencepiece==0.2.0",
"torch==2.3.0",
"torchaudio==2.3.0",
"torchvision==0.18.0",
"transformers==4.41.2"
]
[project.urls]
Homepage = "https://github.com/abetlen/ggml-python"
Documentation = "https://ggml-python.readthedocs.io/en/latest/"
Issues = "https://github.com/abetlen/ggml-python/issues"