-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (42 loc) · 1.62 KB
/
Copy pathpyproject.toml
File metadata and controls
46 lines (42 loc) · 1.62 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mlx-mtp"
version = "0.2.0"
description = "Pure-MLX MXFP4/MXFP8 quantization + native MTP speculative decoding for Qwen3.5/3.6 VLMs on Apple Silicon, with the vision tower and MTP head preserved."
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
license-files = ["LICENSE", "NOTICE"]
keywords = ["mlx", "apple-silicon", "speculative-decoding", "mtp", "qwen", "vlm", "quantization"]
authors = [
{ name = "junainfinity", email = "junainfinity@users.noreply.github.com" }, # <-- EDIT THIS before publishing
]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.11",
"Operating System :: MacOS",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
# Pure Apple-MLX runtime: only mlx.core / mlx.nn for compute. transformers +
# pillow are used ONLY at the tokenizer + image-preprocessing I/O boundary.
# No third-party ML-inference frameworks — at install time or runtime.
dependencies = [
"mlx>=0.31,<0.32 ; sys_platform == 'darwin' and platform_machine == 'arm64'",
"numpy>=2",
"transformers>=4.49",
"pillow>=10",
"jinja2>=3",
]
[project.urls]
Homepage = "https://github.com/junainfinity/mlx-mtp" # <-- EDIT after you create the repo
Issues = "https://github.com/junainfinity/mlx-mtp/issues"
[project.scripts]
mlx-mtp-quantize = "mlx_mtp.quantize:main"
mlx-mtp-bench = "mlx_mtp.bench:main"
mlx-mtp-serve = "mlx_mtp.serve:main"
[tool.hatch.build.targets.wheel]
packages = ["mlx_mtp"]