Files
laya/pyproject.toml

88 lines
2.8 KiB
TOML

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "laya"
version = "0.3.21"
description = "Fast, non-autoregressive System 1 decision engine with calibrated probabilities"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "Apache-2.0" }
authors = [
{ name = "Convai Innovations" }
]
keywords = ["decision-model", "rlcd", "calibration", "system-one", "routing", "guardrails", "moderation", "triage"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"torch>=2.0.0",
"transformers>=4.48.0",
"safetensors>=0.4.0",
"huggingface_hub>=0.20.0",
"numpy>=1.20.0",
]
[tool.setuptools]
# assets/, research/ and notebooks/ sit in the root, so auto-discovery bails out.
packages = ["laya", "laya.mcp", "laya.integrations"]
[project.optional-dependencies]
# `pip install laya[serve]` adds the HTTP server (laya.serve / the laya-serve CLI).
serve = [
"fastapi>=0.110.0",
"uvicorn>=0.27.0",
"python-multipart>=0.0.9", # examples/server.py form uploads
]
# `pip install laya[fast]` adds the TileLang GPU fast path (laya/fast.py); everything else works without it.
fast = ["tilelang>=0.1.14"]
# `pip install laya[mcp]` adds the MCP stdio server (laya.mcp / the laya-mcp-server CLI).
mcp = ["mcp>=2.2.0"]
# `pip install laya[structured]` adds pydantic for the typed-model helpers (laya/structured.py).
structured = ["pydantic>=2.0.0"]
# `pip install laya[onnx]` adds ONNX Runtime for `laya.onnx_agent` and `onnxscript`, which
# `torch.onnx.export` requires (`scripts/export_onnx.py`, `tests/test_onnx.py`).
onnx = ["onnx", "onnxruntime", "onnxscript"]
# `pip install laya[langchain]` adds the LangChain / LangGraph integrations (laya.integrations).
langchain = [
"langchain-core>=0.2.0",
"langgraph>=0.1.0",
]
langgraph = [
"langchain-core>=0.2.0",
"langgraph>=0.1.0",
]
# `pip install laya[llamaindex]` adds the LlamaIndex query router & selector integrations (laya.integrations).
llamaindex = [
"llama-index-core>=0.10.0",
]
# `pip install laya[crewai]` adds the CrewAI multi-agent delegation router (laya.integrations).
crewai = [
"crewai>=0.28.0",
]
[project.scripts]
laya = "laya.cli:main"
laya-serve = "laya.serve:main"
laya-evals = "laya.evals_cli:main"
laya-mcp-server = "laya.mcp.server:main"
[project.urls]
Homepage = "https://huggingface.co/convaiinnovations/laya"
Demo = "https://huggingface.co/spaces/convaiinnovations/laya-demo"