corridorkey-mrp-mlx/pyproject.toml
cmoyates 8be8d003e7
feat: add 2048 smoke test for native-resolution validation
Script + pytest tests to verify MLX inference works at CorridorKey's
training resolution. Uses samples/ by default, synthetic fallback.
Reports timing, peak memory, output diagnostics.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 07:04:28 -03:30

52 lines
999 B
TOML

[project]
name = "corridorkey-mlx"
version = "0.1.0"
description = "MLX inference port of CorridorKey for Apple Silicon"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"mlx>=0.31.0",
"numpy>=2.0.0",
"pillow>=10.0.0",
"rich>=13.0.0",
"safetensors>=0.4.0",
]
[dependency-groups]
dev = [
"mypy>=1.19.1",
"pytest>=9.0.2",
"pytest-xdist>=3.8.0",
"ruff>=0.15.4",
]
reference = [
"timm>=1.0.25",
"torch>=2.10.0",
"torchvision>=0.25.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/corridorkey_mlx"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = ["slow: heavy tests (2048 inference, etc.) — run with -m slow"]
addopts = "-m 'not slow'"
[tool.ruff]
target-version = "py311"
line-length = 99
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "TCH"]
[tool.mypy]
python_version = "3.11"
strict = true
mypy_path = "src"