mirror of
https://github.com/cloudstack-llc/mlx-knife.git
synced 2026-07-19 22:53:30 -04:00
fb54f59cd4
Fixes Issue #32 (generic multi-EOS detection) and Issue #37 (model detection) - Generic stop token detection: Multi-EOS models (MXFP4, Qwen, Llama) now use eos_token_ids Set instead of model-specific workarounds - Private/org MLX model detection: `mlxk run` now works outside `mlx-community/*` namespace - Commit-pinned compatibility checks: Models with `@commit_hash` validated before inference - Packaging dependencies: Fixed `pip install -e .` requirements - ADR-009: Stop Token Detection Fix (generic approach + test strategy) - ADR-011: E2E Live Test Architecture (planned) See CHANGELOG.md and TESTING.md for details.
71 lines
1.7 KiB
TOML
71 lines
1.7 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "mlxk-json"
|
|
dynamic = ["version"]
|
|
description = "MLX-Knife 2.0 - JSON-first model management for automation"
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
license = {text = "Apache-2.0"}
|
|
authors = [
|
|
{name = "The BROKE team", email = "broke@gmx.eu"},
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"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",
|
|
"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.3",
|
|
"mlx>=0.29.0",
|
|
"fastapi>=0.116.0",
|
|
"uvicorn>=0.35.0",
|
|
"pydantic>=2.11.0",
|
|
"httpx>=0.27.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
mlxk-json = "mlxk2.cli:main"
|
|
mlxk2 = "mlxk2.cli: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",
|
|
]
|