File size: 924 Bytes
e530d46 | 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 | [build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ml-intern"
version = "1.0.0"
description = "Production-grade ml-intern with MLX, NIM, and Cloudflare fallback"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
"pydantic>=2.12.3",
"redis>=5.0.0",
"asyncpg>=0.30.0",
"prometheus-client>=0.21.0",
"httpx>=0.27.0",
"tenacity>=9.0.0",
"structlog>=24.4.0",
"python-dotenv>=1.2.1",
"python-multipart>=0.0.9",
]
[project.optional-dependencies]
mlx = [
"mlx-lm>=0.21.0",
"mlx>=0.22.0",
]
dev = [
"pytest>=8.3.0",
"pytest-asyncio>=0.24.0",
"locust>=2.32.0",
"httpx>=0.27.0",
]
[tool.uv]
default-groups = []
[tool.uv.pip]
python-version = "3.11"
[tool.hatch.build.targets.wheel]
packages = ["production"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
|