Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (66 loc) · 2.34 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (66 loc) · 2.34 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "laya"
version = "0.3.20"
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"]
onnx = ["onnx", "onnxruntime"]
# `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",
]
[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"