最新资讯
stackoverflow.blog 欢迎来到芯片时代:半导体制造、AI 数据中心与芯片设计的未来 pub.towardsai.net Netflix 科学家建议重采样 LLM 评判:5 次仅将误差棒缩小 13% pub.towardsai.net Jev 作为 LLM 前的静默层:构建提示感知的模型路由器 reddit.com OpenAI 称 Astra 仅满足 10% 安全任务标准 dev.to FreeToken:在自有 GPU 上运行前沿 MoE 模型及其内存需求 dev.to 当 AI Agent 说“完成”时,究竟完成了什么? dev.to 部署 Underdog Bark 3.0 Pro:逐字转写、自定义后端与分块设置 dev.to 为艰难对话构建 AI:五个 Agent、一条安全正则与一位盲评监督者 techcrunch.com Palo Alto Networks 洽谈以 5 亿美元收购 AI Agent 安全初创公司 Clutch theinformation.com 黄仁勋被要求就涉华间谍指控向国会作简报 www.infoq.com Edera 推出 Object Capability Bounded Authority,试图将凭证与 AI Agent 工作负载隔离 wechat 这波杀疯了!旗舰级模型不限量、1个月视频额度免费领
多元动态
登录 注册
大模型 ollaya.dev · @Hacker News

Ollaya:本地运行开源决策模型,兼容 TypeSafe API

原文 我的收藏

Ollaya 提供在自有硬件上本地运行决策模型的能力,通过单次前向传播返回带概率的校准答案,而非逐 token 生成。它兼容 TypeSafe 的 /v1/systemone 和 /v1/models 接口,官方 Python SDK 0.7.1 可原样对接本地服务。页面称在 RTX 4090 上五问请求端到端约 8–10ms,并列出 laya(Convai Innovations,322m/421m)、decider(Mapika,基于 Qwen3.5,0.75b/1.9b)、nli 等开放权重模型。延迟对比为与托管 API 第三方基准的数量级比较,设置不同,仅供参考。

AI推荐理由 Ollaya 是一个本地运行决策模型的开源项目,宣称兼容 TypeSafe 的 /v1/systemone 与 /v1/models 接口,官方 Python SDK 0.7.1 可直连本地服务;页面给出 Laya 在 RTX 4090 上五问请求约 8–10ms 的实测数据,并列出 laya、decider、nli 等开放权重模型。局限在于延迟对比是与托管 API 的第三方基准做数量级比较,页面自述设置不同;模型精度、校准质量与开源许可细节未在片段中给出,需自行验证。

72

正文

Run decision models locally. Ask typed questions about any text or JSON and get calibrated answers in milliseconds. Private, open source, on your own hardware. DownloadBrowse models ollaya · zsh $ ollaya run laya --preset triage \"I was charged twice this month and want a refund." Answers returned by the modelQuestionAnswerProbabilityintentrefund1.00is_urgentno0.87frustration1.59 / 3 clearly annoyed0.36refund_requestedyes0.88churn_riskno0.89 $ Real output: routed to laya:en, answered in 8.9 ms on an RTX 4090. Fast Decisions in milliseconds. A decision model answers in a single forward pass, with no token-by-token generation. On your own GPU, a five-question request to Laya takes about 10 ms, end to end through the HTTP API. 8–10ms Laya on Ollaya RTX 4090, five questions, end to end 236–276ms TypeSafe Jev Hosted API, median request Every model, one scale · median latency, lower is better laya:multilingual8.1 ms laya:en9.6 ms gliclass14.7 ms nli20.4 ms decider:0.8b155 ms decider:2b190 ms TypeSafe Jevhosted API236–276 ms 0100200300 ms Ollaya: median of a five-question request through the HTTP API on an NVIDIA RTX 4090 (laya in fp16, the others in fp32). Jev: median request latency of the hosted API in third-party benchmarks (AbdelStark/jev-benchmarks, nibzard/decision-model-benchmark), which includes the network. Setups differ, so read it as an order-of-magnitude comparison. Drop-in compatible Speaks TypeSafe's API. Ollaya serves /v1/systemone and /v1/models with TypeSafe's request and response shapes. The official TypeSafe Python SDK 0.7.1 works unchanged against a local server. Request export TYPESAFE_BASE_URL=http://localhost:11435 export TYPESAFE_API_KEY=local export TYPESAFE_DEFAULT_MODEL=laya curl http://localhost:11435/v1/systemone -d '{ "model": "laya", "state": "Can I get an invoice for last month?", "questions": { "intent": { "type": "choice", "instructions": "What does the customer want?", "criteria": { "invoice": "Needs an invoice or receipt", "refund": "Wants money back", "other": "Anything else" } } } }' Response { "model": "laya:en", "answers": { "intent": { "type": "choice", "choice": "invoice", "confidence": 0.9547, "probabilities": { "invoice": 0.9698, "refund": 0.0172, "other": 0.013 } } }, "usage": { "input_tokens": 43, "output_tokens": 0 } } TypeSafe compatibility guide Open models Open weights, ready to pull. Start with Laya from Convai Innovations: an English model, a 100+ language model, a model fine-tuned for typed decisions, and a router that picks for you. layaOpen decision models from Convai Innovations. Typed, calibrated answers to choice, score and yes/no questions in a single forward pass, in English and 100+ languages.322m · 421m deciderDecoder decision models by Mapika on Qwen3.5: the answer is read from option-letter logits in one forward pass. The most accurate open decision model Ollaya ships.0.75b · 1.9b nliZero-shot classifiers by Moritz Laurer: every option becomes a hypothesis scored for entailment. The most accurate encoder model on typed decisions in our tests.396m · 435m gliclassInstruction-following zero-shot classifier by Knowledgator: all options of a question are scored in one pass, so cost barely grows with the number of options.439m Browse all models More open decision models are planned: von, GGUF LLM-based decision models via llama.cpp. Your data stays yours Private by default. Tickets, emails and user messages are often the most sensitive data you have. With Ollaya they are scored where they already live. Local Runs on your machine with ONNX Runtime, on the CPU or an NVIDIA GPU. The server listens on 127.0.0.1 by default. Open weights Weights come from their authors’ Hugging Face repositories, pinned to a commit and checked against sha256. Ollaya never re-hosts them, and the runtime is Apache-2.0. No per-token fees Run as many decisions as your hardware can handle. No metering and no API bill. Calibrated Probabilities you can put thresholds on. Laya’s calibration error (ECE) is 0.081 after temperature fitting, vs 0.246 for Jev. Platforms Runs where you work. A desktop app and a command line for macOS, Windows and Linux, and a Docker image for servers. Every model runs on the CPU; an NVIDIA GPU on Linux, in WSL 2 or in Docker takes a request down to milliseconds. PlatformDesktop appCommand lineGPUmacOSApple siliconDesktop appMenu bar app.dmgCommand lineInstall scriptGPUCPU onlyWindows10 and 11, x64Desktop appDesktop app.exe or .msiCommand linePowerShell scriptGPUCPU onlyNVIDIA via WSL 2Linuxx86-64Desktop appDesktop appAppImage, .deb, .rpmCommand lineInstall scriptsystemd serviceGPUNVIDIA, CUDA 13LinuxARM64Desktop appNot availableCommand lineInstall scriptsystemd serviceGPUCPU onlyWSL 2Linux on WindowsDesktop appNot availableCommand lineInstall scriptSame as LinuxGPUNVIDIA, CUDA 13Dockeramd64 and arm64Desktop appNot availableCommand lineImage on GHCRGPUNVIDIA, CUDA 13:cuda image, amd64 Install for your platform NVIDIA GPUs need driver R580 or newer; the installers fetch the CUDA libraries only when they find one. On Apple, AMD and Intel GPUs, models run on the CPU. Get up and running in minutes. One binary, one command: ollaya run laya. Download macOS, Windows, Linux and Docker · Apache-2.0 · GitHub

来源报道 · 1 篇 · 以下链接均前往原始媒体

← 返回精选动态 原文

更多内容