mirror of
https://github.com/cloudstack-llc/mlx-knife.git
synced 2026-07-19 22:53:30 -04:00
d3f7d091bc
Bugfixes and compatibility improvements. No new features. Core fixes: - Framework detection for web API models (Issue #48) - Video-only model filtering from vision capability - Page size detection for memory metrics (macOS) - Model switch log timing (after load completion) Compatibility: - hub 1.x + transformers 5.0 support - Python 3.9-3.14 verified (494 tests passing) Testing infrastructure: - Benchmark schema v0.2.0 (hardware profiling, system health) - Benchmark template v1.0 (automated JSONL→Markdown reports) - Memory timeline visualization (memplot.py) - Unified model filter (build_model_object single source) Documentation: - Multi-Modal Support section in README (Vision subsection) - JSON API 0.1.5-0.1.6 marked Stable - Vision promoted from alpha to beta status - Removed conceptual drift and outdated references See CHANGELOG.md for complete details.
77 lines
2.0 KiB
TOML
77 lines
2.0 KiB
TOML
[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.9"
|
|
license = {text = "Apache-2.0"}
|
|
authors = [
|
|
{name = "The BROKE team", email = "broke@gmx.eu"},
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Programming Language :: Python :: 3.14",
|
|
"Operating System :: MacOS",
|
|
"Environment :: Console",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
]
|
|
dependencies = [
|
|
"huggingface-hub>=0.34.0",
|
|
"requests>=2.32.0",
|
|
"mlx-lm>=0.28.4",
|
|
"mlx>=0.29.0",
|
|
"fastapi>=0.116.0",
|
|
"uvicorn>=0.35.0",
|
|
"pydantic>=2.11.0",
|
|
"httpx>=0.27.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",
|
|
]
|
|
vision = [
|
|
"mlx-vlm>=0.3.9", # Vision Language Models support (ADR-012, requires Python 3.10+; beta.3 recommends mlx-vlm commit c4ea290e47e2155b67d94c708c662f8ab64e1b37)
|
|
]
|
|
|
|
[tool.setuptools]
|
|
license-files = [
|
|
"LICENSE",
|
|
"mlxk2/NOTICE",
|
|
]
|