File size: 701 Bytes
f882f26 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # SPDX-License-Identifier: Apache-2.0
"""tt_laya: the laya decision model (convaiinnovations/laya, classic checkpoints) on one Tenstorrent Blackhole p150.
Engines: ``mk`` (one plan-driven megakernel: ModernBERT encoder + decision head, weights streamed from DRAM),
``ttnn`` (ttnn ops baseline; rows past 512 tokens) and ``cpu`` (the clean-room fp32 reference). Importing the
package has no side effects (no ttnn, no torch, no device).
from tt_laya.api import Laya
agent = Laya.from_pretrained()
out = agent.predict("We were billed twice, please refund.", {"refund": {"type": "noul",
"instructions": "Does the user ask for a refund?"}})
"""
__version__ = "0.1.0"
|