forked from mzau/mlx-knife
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (73 loc) · 1.88 KB
/
pyproject.toml
File metadata and controls
81 lines (73 loc) · 1.88 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mlx-knife"
dynamic = ["version"]
description = "HuggingFace model management for MLX on Apple Silicon"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
authors = [
{name = "The BROKE team", email = "broke@gmx.eu"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: MacOS",
"Environment :: Console",
"License :: OSI Approved :: Apache Software License",
]
dependencies = [
# Core
"huggingface-hub>=1.0.0",
"requests>=2.32.0",
"fastapi>=0.116.0",
"uvicorn>=0.35.0",
"pydantic>=2.11.0",
"httpx>=0.27.0",
"python-multipart>=0.0.9",
# MLX stack (Text + Vision + Audio)
"mlx>=0.30.0",
"mlx-lm>=0.30.5",
"mlx-vlm==0.3.10",
"mlx-audio==0.3.1",
"tiktoken>=0.7.0",
]
[project.scripts]
mlxk = "mlxk2.cli:main"
mlxk-json = "mlxk2.cli:main"
mlxk2 = "mlxk2.cli:main"
mlx-run = "mlxk2.tools.run:main"
[project.urls]
Homepage = "https://github.com/mzau/mlx-knife"
Repository = "https://github.com/mzau/mlx-knife"
Issues = "https://github.com/mzau/mlx-knife/issues"
[tool.setuptools.packages.find]
include = ["mlxk2*"]
exclude = ["tests*", "tests_2.0*"]
[tool.setuptools.dynamic]
version = {attr = "mlxk2.__version__"}
[project.optional-dependencies]
test = [
"pytest>=7",
"jsonschema>=4.20",
]
dev = [
"ruff>=0.1.0",
"mypy>=1.5.0",
]
[tool.setuptools]
license-files = [
"LICENSE",
"mlxk2/NOTICE",
]
[tool.setuptools.package-data]
mlxk2 = [
"assets/whisper/*.tiktoken",
]