Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

fix(packaging): add the structured extra for the pydantic helpers

GaotianJin996bd6b6503b
diff --git a/pyproject.toml b/pyproject.toml
index ee375c71..1c846b49 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -49,6 +49,9 @@ 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).