tc3oliver/laya-apple
关于
Correctness-validated heterogeneous Laya runtime for Apple Silicon (MLX GPU + Apple Neural Engine)
人工智能与机器学习可以做什么
- Correct ANE results, not just fast ones. On the tested Mac, a plain Core ML export ran on the Neural Engine (ANE) without a single error and still disagreed with upstream on up to 85 decisions. laya-apple uses an ANE artifact only after it passes a parity gate on your machine (Correctness).
- Short decisions stop queueing behind long work. Single-question requests go to the ANE when a validated artifact is present; long and multi-question ones stay on the GPU. With execution="workers" both engines serve at once. Measured on one Apple M4 Max; watch it with uvx laya-apple switchyard (Switchyard, GPU + ANE benchmarks).
- A local stand-in for the Jev API. laya-apple serve answers existing Jev clients with upstream Laya on your Mac, without changes to the client (Local Jev-compatible server).
- Every routing decision is explained. Each result records its device and routing_reason. Ask for the ANE explicitly and you get the validated artifact or an exception, never a silent fallback (How it works).
实测星标增长
- 24小时
- 0
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.zh-CN.md
原文laya-apple
本文档是
README.md的中文版。如有出入,以英文版为准。
让 Mac 的 GPU 和 Neural Engine 同时跑 Laya,而且 Neural Engine 只在结果与上游一致时才启用。
给 Laya 一段 context,一次 forward pass 就能答完多个带类型的问题(choice、score、noul)。
laya-apple 在 Mac 的两个引擎上运行上游 Laya,每个请求自动选一个引擎。
1.7.0 新变化(在 macOS 27.0、Apple M4 Max 上测得):新增可选的 8-bit(W8)ANE artifact,适用于
laya-typed-decisions 的 L64,用 ane_quantization="w8" 启用。单个 L64 请求的 P50 从 8.2 ms 降到 5.4 ms
(throughput 1.52 倍),对 FP16 的 parity 门槛有 0 个 hard mismatch。这是实验功能,默认关闭:事先登记的
production gate 没有通过,真实请求落在 L64 的比例也没有量过(release notes)。
为什么要用
- ANE 不光要快,结果还得对。 在测试机上,直接导出的 Core ML 模型在 Neural Engine(ANE)上跑得 好好的,一个错都没报,却有多达 85 个决策和上游对不上。因此 ANE artifact 必须先在你的机器上通过 parity 检查才会启用(正确性)。
- 短决策不用再等长任务。 有通过验证的 artifact 时,单问题请求走 ANE;长请求和多问题请求留在 GPU。
开启
execution="workers"后,两个引擎同时处理请求。数据全部来自同一台 Apple M4 Max; 运行uvx laya-apple switchyard可以亲自看到效果 (Switchyard、GPU + ANE benchmark)。 - 在本地替代 Jev API。
laya-apple serve在你的 Mac 上用上游 Laya 回答现有的 Jev 客户端, 客户端无需任何修改(本地 Jev 兼容服务器)。 - 每次路由都有据可查。 结果中记录了设备和
routing_reason。显式指定 ANE 时,要么运行通过验证的 artifact,要么直接抛异常,绝不静默 fallback(工作原理)。
安装
需要 Apple 芯片和 Python 3.11–3.13:
pip install 'laya-apple[ane]' # MLX GPU + the Neural Engine runtime
| Extra | 增加的内容 |
|---|---|
| (无) | 仅 MLX GPU 运行时 |
ane |
Neural Engine 运行时(coremltools 9.0、pyobjc-framework-CoreML) |
convert |
在这台 Mac 上构建 ANE artifact(torch 2.7.0);artifacts fetch 不需要 |
serve |
laya-apple serve,本地 Jev 兼容服务器 |
没有安装 ane extra,或还没构建 ANE artifact 时,所有计算都在 MLX GPU 上运行。
如需从源码运行或参与开发,请参阅 CONTRIBUTING.md。
快速上手
from laya_apple import Laya
model = Laya.from_pretrained("convaiinnovations/laya-typed-decisions", device="auto")
result = model.predict(
context="The customer was charged twice for the same invoice and is frustrated.",
questions={
"urgency": {
"type": "choice",
"instructions": "How urgent is this?",
"criteria": ["low", "medium", "high"],
}
},
)
rt = result.runtime
print(result.answers["urgency"]["choice"])
print(rt.device, rt.routing_reason, f"{rt.latency_ms:.1f} ms")
在测试机器上的输出:
high
ane validated_short_single_question_path 11.2 ms
- 第一次调用会下载固定版本的 checkpoint,之后即可离线使用(
local_files_only=True)。 - 没有 ANE artifact 时,同一个请求会改在 MLX 上运行,
routing_reason会说明原因。 - Apple M4 Max + macOS 26 或 27 + coremltools 9.0:直接下载预构建的 artifact,它会在你的 Mac 上完成验证:
laya-apple artifacts fetch laya-typed-decisions。 - 其他环境请自行构建(需要
convertextra):laya-apple artifacts build laya-typed-decisions。 - 概率、其他问题类型和完整 API:
examples/、用户指南 和docs/api.md。
要让 GPU + ANE 并发服务,请使用 execution="workers",请求可以从任意线程提交:
with Laya.from_pretrained("convaiinnovations/laya-typed-decisions", execution="workers") as model:
futures = [model.submit(context=c, questions=q) for c, q in requests] # thread-safe
先获取经过验证的 ANE artifact,再按语言路由(1.6)
pip install -U 'laya-apple[ane]'
laya-apple artifacts fetch laya # prebuilt ANE artifacts, validated here
laya-apple artifacts fetch laya-multilingual
from laya_apple import Laya
with Laya.from_pretrained("auto") as model: # laya or laya-multilingual, per request
result = model.predict(context=context, questions=questions)
rt = result.runtime
print(rt.model, rt.model_routing, rt.device, rt.routing_reason)
- 按语言路由。
Laya.from_pretrained("auto")返回一个LayaRouter,它同时加载laya和laya-multilingual,按每个请求 context 的语言选择其中一个,判断方式与laya-apple serve --model auto使用的是同一个函数。选择的理由记录在RuntimeInfo.model_routing(docs/api.md)。 - 预构建的 ANE artifact,在你的 Mac 上验证。
laya-apple artifacts fetch MODEL从tc3oliver/laya-apple-artifacts下载预构建的 artifact,再交给会做验证的artifacts import注册:先核对索引中的 SHA-256,检查 manifest、平台 profile 和 compute plan,再跑完整的 FP16 parity 关卡和 placement probe,全部在你的 机器上完成。下载的 artifact 和本地构建的一视同仁,检查一项不少。fetch 固定读取该 repository 中验证过的 commit,不读可变的main。有了它就不用在本地构建,也不必装 PyTorch 和convertextra。 首次安装时,这些检查直接在注册路径上进行,设备端编译只做一次,不再做两次。 在 M4 Max + macOS 27.0 上,一次 laya-typed-decisions L128 的 import,预先注册的实验中从约 146 s 降到约 75 s, 用正式的artifacts import则是从 149–154 s 降到 76–91 s (research/import-compile-once/results.md)。 predict不变;predict_shortlist需手动启用。 标签很多的choice问题可以用predict_shortlist(..., embed_fn, k=20):先保留与请求最相近的k个标签,再运行一次predict。predict本身没有变化(examples/auto_fetch_shortlist.py)。
局限:
- 预构建的 artifact 目前有两个平台 profile:Apple M4 Max + coremltools 9.0,macOS 26 和
macOS 27(1.6.2 起)各一套。 其他 Mac 都会得到
ArtifactMissingError,错误信息会给出构建命令, 照旧在本地构建(laya-apple artifacts build MODEL,需要convertextra)。 - 已发布的 artifact 都做过空缓存下载检查: 两个 profile 各 10 组 model/bucket, fetch、verify、parity 和 placement 全部通过 (macOS 26.6.2、 macOS 27.0)。 两次检查都是在构建 artifact 的那台机器上做的。每一台接收端机器在注册 artifact 前, 都会再做一次完整性、平台、parity 和 placement 检查。
- Core ML 首次加载模型时仍需在设备上编译: macOS 26 上约 4.5 分钟。在一次实测中,laya-typed-decisions
(bucket 64/96/128)在新位置冷启动用了 273.5 s,热启动只要 2.7 s
(
research/coreml-compile-cache/screen.md); macOS 27.0 上约 210 s(research/coreml-compile-cache/results.md)。 下载 artifact 省不掉这段编译,不过 import 现在只在注册路径上编译一次。设置ane_startup="background"时, 这段时间会先用 MLX 提供服务。
1.6 的其他小改动:MLX 快速路径(token-id 缓存默认开启;mx.compile 和按长度分组的
batching 需手动启用;测量范围见局限),以及 1.6 时没有进入正式版的 W8 ANE 研究(1.7 起成为可选功能;见局限)。Release notes:
docs/releases/v1.6.0.md。
GPU + ANE benchmark
除社区结果外,本节数据都来自同一台 Apple M4 Max。其他 Mac 的结果汇总在 社区 benchmark。
亲自看看:Switchyard
uvx laya-apple switchyard

每一趟列车都是一次真实的 Laya 决策(“哪个站台是空的?”)。红灯表示列车正在等模型回答; 100 ms 内没有拿到回答即为晚点。高峰时段会加入突发负载,同时 GPU 上还有耗时较长的后台请求。
| 同一份时刻表,同一个模型 | 仅 MLX GPU | MLX GPU + Neural Engine |
|---|---|---|
| 晚点列车 | 1,407–1,408 / 1,422 | 0 / 1,422 |
| P99 决策延迟 | 3,107.7–3,170.6 ms | 54.5–54.7 ms |
| P99 排队等待 | 3,095.9–3,158.8 ms | 39.6–42.8 ms |
- 同一台 Apple M4 Max(macOS 26.6.2,
laya-typed-decisions)上的三次标准运行。每次运行中, 两个轮次对每一趟列车给出的回答都相同。 - 差距主要来自短决策不必再在 GPU 队列里等待,长请求则继续在 GPU 上运行。
- Benchmark 在 headless 模式下测量;动画只是回放,不属于测量本身。这些数字不能与下方 v1.0 的结果直接比较(速率、测量边界和 workload 都不同)。
首次下载、设置、方法和原始数据:docs/switchyard.md 和
benchmarks/switchyard/README.md。
最初的异构服务 benchmark(v1.0)
这些结果证明了 GPU + ANE 服务的价值,是在 1.5 引入自适应执行之前测得的。
| 模型 | 相比仅 GPU 的吞吐量 | 短请求 P99,仅 GPU | 短请求 P99,GPU + ANE |
|---|---|---|---|
| laya | 2.92× | 1538.0 ms | 108.5 ms |
| laya-multilingual | 4.34× | 2052.3 ms | 29.6 ms |
| laya-typed-decisions | 4.57× | 1592.9 ms | 79.5 ms |
一台 Apple M4 Max,一条短请求流和一条长请求流送入同一个 Laya(execution="workers")。短请求
P99 在 open-loop 突发负载下从请求到达时开始计时,因此包含排队时间。性能提升来自两个引擎同时
工作,而不是 ANE 本身更快。方法和原始数据:benchmarks/v1.0.md。
自适应 ANE 执行(1.5)
ANE 跑在同一进程的线程上时,同步的 Core ML 调用在每次预测中有很大一部分时间都持有 GIL,
所以一个 GPU 已经算完的请求,要等这次调用返回才能把结果交回去
(research/coreml-gil-completion-path/)。
1.5 让 laya 和 laya-typed-decisions 中符合条件的 ANE 请求改走异步 Core ML 执行;一旦持续变慢,
运行时就退回已知安全的 1.4 同步路径。在 execution="workers"、device="auto" 下默认开启,
无需再改代码。

前 10 秒是示意动画。画面上每个数字的来源:
docs/media/release15-social.md。
| 相比 1.4 路径(一台 Apple M4 Max) | laya | laya-typed-decisions |
|---|---|---|
| GPU 返回(P50) | 4.28–4.29 → 0.035–0.037 ms | 8.60 → 0.043 ms |
| 吞吐量 | 1.042× | 1.038× |
GPU 返回指从 GPU worker 算完一个请求,到结果送达调用方的时间,不是 GPU 的计算时间。 在 1.4 路径上,已经算完的结果要等 4.3–8.6 ms,几乎全部是在等 GIL。
- 验证。 154 个生产环境验证 episode(76 个 laya、78 个 typed-decisions,包含突发负载和
soak 测试)。每个 episode 在 handoff 之后都留在异步路径上,没有 mismatch、路由失败、请求丢失或崩溃。
这几轮验证都没有出现变慢状态,因此 fallback 从未触发
(
val_tables.md)。 - 恢复(另一组独立的受控实验)。 异步路径已经变慢的 12 个 episode,运行时全部在 40 ms 内
检测到,并在 164–414 ms 内让延迟回到 1.4 路径的水平
(
phase1_tables.md)。
完整脉络,从 GIL 的诊断到 adaptive breaker:
research/coreml-gil-completion-path/、
research/coreml-adaptive-breaker/ 和
1.5 release notes。
社区 benchmark
本 README 中所有 benchmark 都是在 M4 Max 上跑的。社区矩阵单独记录 其他 Mac 的结果,目前已有 M4 Pro、两台 M4 和 M2 Pro(仅 MLX)。一条命令就能把你的 Mac 加进来:
uv run python scripts/hardware_report.py --quick
从 git clone 到提交 pull request 的完整步骤,见指南。
本地 Jev 兼容服务器
laya-apple serve 可以在本地替代 Jev API。它在 loopback 上提供相同的 API
(POST /v1/systemone),并在你的 Mac 上用上游 Laya 作答。现有的 Jev 客户端只需把 base URL
设置指向这里,代码无需任何改动。
pip install 'laya-apple[serve,ane]'
laya-apple serve # http://127.0.0.1:8642
export TYPESAFE_BASE_URL=http://127.0.0.1:8642 # then run your Jev client as usual
- 已用 7 个 Jev 客户端的正式版本实测,客户端未做任何修改,包括 Python 和 JS SDK,以及两个
Claude Code 插件(
integrations/jev-plugins/README.md)。 - 回答来自 Laya,而不是 Jev。 792 个请求全部在 FP16 parity 检查范围内与未经修改的上游
laya.serve0.3.20 一致(benchmarks/serve-compat/)。 准确率与 Jev 相比孰高孰低,本项目不做比较。
API key、模型、安全性和客户端注意事项:docs/serve.md。
较早的 serve benchmark
在 1.3 路径上测量,同一台 Mac 上有一个满载生成的 27B 本地 LLM 时,简短决策的 P99 在异构 auto
服务下为 47.2 ms,仅用 GPU 时为 122.3 ms(一台 M4 Max、一次运行,--model laya)。
第 3 次运行使用 laya-apple 1.5.0 的默认设置,auto 为 41.7 ms,--device gpu 为
79.5 ms,所有预先登记的标准都通过。自适应执行已开启,但在 3,222 次 Neural Engine forward 中
异步路径一次都没有触发,因此第 3 次运行测到的是 1.5 正式版 serve 的实际表现,而不是异步路径
(benchmarks/serve/m4-max-r3/tables.md)。
这几次运行是彼此独立的测量,只做描述性对比。对 LLM 吞吐量的影响、方法和局限:
docs/serve.md。
工作原理
Mac 上有两个引擎可以运行 Laya,分别擅长不同的请求。
- ANE 的结果得对。 Core ML 导出跑得快,不代表结果正确。ANE artifact 必须在实际 运行它的 Mac 上通过 parity 检查才会被使用(正确性)。
- 自动路由。 Router 在请求运行前就做出决定,并在
routing_reason中记录原因。有负载时, 它还会比较两个队列的积压情况。 - GPU + ANE 并发服务。 使用
execution="workers"时,GPU 在 worker 进程中运行,ANE 有自己的 dispatcher,短请求不再排在长请求后面。 - 自适应 ANE 执行(1.5)。 GPU 与 ANE 同时繁忙的每一段时间(overlap)开始时,先保守地走
同步路径,之后符合条件的 ANE 请求改用异步 Core ML,已经算完的 GPU 结果就不会被同步路径长时间持有的 GIL 卡住。
运行时根据每个请求的时间数据判断这条路径是否变慢;持续变慢时,这段时间内剩余的请求会退回
已知安全的同步路径。设置
ane_handoff=False即可关闭 (指南)。
| 请求 | 发往 | 原因(在测试用的 Mac 上测量) |
|---|---|---|
| 一个问题、≤ 128 个 token、有已验证的 artifact | ANE | 更快:laya-typed-decisions 在 L128 时,ANE 需要 9.9 ms,MLX 需要 12.2 ms(forward P50) |
| Context 较长 | MLX GPU | 这时 MLX 更快:L256 为 19.2 ms,L1024 为 71.0 ms |
| 多个问题 | MLX GPU | MLX 会批量处理这些问题;ANE 只能逐个运行 |
| 未经验证的 Mac、缺少 artifact,或没有 Core ML | MLX GPU | 记录为 platform_not_validated、ane_artifact_unavailable 或 ane_runtime_unavailable |
完整的路由阈值和校准依据:docs/support-matrix.md。
已完成的请求可以通过 trace= 输出 RequestTrace(路由决策,以及排队、执行和响应的时间)
(docs/api.md)。自适应执行依据的也是这些逐请求的计时数据,无需另外传入 trace=。
架构:docs/architecture.md。
支持的模型和平台
| 模型 | max_len | MLX GPU | ANE bucket(显式指定) | auto 使用的 ANE bucket |
自适应 ANE 执行 |
|---|---|---|---|---|---|
convaiinnovations/laya |
512 | FP16 / FP32,任意长度 | 64, 96, 128 | 64, 96, 128 | 是 |
convaiinnovations/laya-multilingual |
1024 | FP16 / FP32,任意长度 | 64, 96, 128, 256 | 64, 96, 128 | 否(ANE 在 worker 进程中运行) |
convaiinnovations/laya-typed-decisions |
1024 | FP16 / FP32,任意长度 | 64, 96, 128 | 64, 96, 128 | 是 |
自适应 ANE 执行仅在 execution="workers"、device="auto" 下启用,目前只在一台运行 macOS 26.6.2
的 Apple M4 Max 上验证过。内置路由 profile 支持 Apple M4 Max + coremltools 9.0,macOS 26.6.2 和 27.0
都在内:artifact 无论是本地构建还是 fetch 下来,auto 都会用上 ANE。macOS 27 的 profile 对所有 27.x 生效,不过只实测过 27.0。
macOS 27 上只测量了构建、parity、路由,以及预构建 artifact 的 fetch 检查;自适应执行、serve
和发布 benchmark 都没有测量(benchmarks/routing-macos27/)。
在其他 Mac 上,需要先在该机器上构建并校准 ANE artifact(laya-apple calibrate),auto 才会使用 ANE,
在此之前一直走 MLX。预构建的 artifact
(laya-apple artifacts fetch)只支持 Apple M4 Max + coremltools 9.0,系统为 macOS 26 或 27。参见
docs/compatibility.md。
正确性
以 PyTorch CPU FP32 上的上游 Laya 为基准,用随附的 golden rows 对比 parity(v1.0)。 每个单元格依次是 hard mismatch 数和最大概率误差。
| 测试用 Mac 上的实现 | laya | laya-multilingual | laya-typed-decisions |
|---|---|---|---|
普通 Core ML 导出 · CPU_AND_NE |
❌ 12, 0.56 | ❌ 85, 1.0 | ❌ 19, 0.42 |
普通 Core ML 导出 · CPU_AND_GPU |
✅ 0, 0.0066 | ✅ 0, 0.0059 | ✅ 0, 0.0028 |
| laya-apple MLX FP16 | ✅ 0, 0.0037 | ✅ 0, 0.0045 | ✅ 0, 0.0017 |
| laya-apple ANE FP16 | ✅ 0 (1 near-tie), 0.012 | ✅ 0, 0.013 | ✅ 0, 0.0077 |
- FP16 检查标准: 概率误差 ≤ 0.02,且 hard mismatch 为 0。Near-tie 翻转会明确列出,不会隐藏。
- 不会悄悄 fallback: 显式指定 ANE 的请求,要么运行已验证的 artifact,要么直接抛出异常。
- 1.5 的异步路径在 golden rows 上的输出必须与 coremltools 完全一致。
定义、所有测试过的配置以及 fallback 审计:docs/correctness.md 和
docs/no-silent-fallback.md。
局限
- 只有一台测试机器。 所有 benchmark,包括 1.5 的验证和恢复实验,都来自同一台 Apple M4 Max: macOS 26.6.2,外加 macOS 27.0 上的构建、parity 和路由。我们不假定路由阈值在其他 Apple SoC 上同样成立。
- 自适应执行的 handoff 很保守: GPU 与 ANE 每次同时繁忙时,最先的一批 ANE 请求会先走 1.4 路径。 laya-multilingual 的 ANE 在 worker 进程中运行,不使用这项功能。
laya-apple serve中还没有测到 1.5 自适应执行的异步路径。 serve 默认使用自适应执行; 第 3 次在本地 LLM 旁的 benchmark 开启了它,但 3,222 次 Neural Engine forward 全都走 1.4 的 Core ML 路径(benchmarks/serve/m4-max-r3/tables.md)。- 长请求和多问题请求留在 GPU 上, 因为 GPU 处理它们更快。ANE 路径仅支持 batch 1。
- 无法完全隔离。 并发运行时,每条请求流的 P99 都高于单独运行时。
- 冷启动: 如果 artifact 目录是全新的,每个模型需要 3–5 分钟编译 Core ML。
设置
ane_startup="background"时,这段时间会先用 MLX 提供服务。 - 预构建的 artifact 省不掉冷启动。 下载来的 artifact 第一次加载时仍要在设备上编译:一次实测中
laya-typed-decisions(bucket 64/96/128)用了 273.5 s,热启动为 2.7 s
(
research/coreml-compile-cache/screen.md)。 - Core ML 的编译缓存只增不减: 每个新的 artifact 位置(一次 fetch、一次 import、移动过的缓存) 每个 bucket 会多出 0.7–1.4 GB。laya-apple 从不清理它(用户指南)。 Core ML 按进程名分别缓存,进程名不同的话可能还要再编译一次。
- 预构建的 artifact 只有两个平台 profile(Apple M4 Max + coremltools 9.0,macOS 26 和 27),
而且只在构建它们的那台机器上用空缓存下载验证过
(macOS 26.6.2、
macOS 27.0)。macOS 27 的 profile 对所有 27.x 生效,
不过只实测过 27.0。两个 profile 都还没有在第二台机器上做独立验证。建议发布前做一次,但不强制
(
docs/publishing.md);每一台接收端机器仍会在注册前验证每个 artifact。 - 唯一的量化 artifact 是实验性的可选功能。 1.7 起,laya-typed-decisions L64 的
w8-ptartifact 可在本机构建,并通过ane_quantization="w8"启用。默认关闭,没有预构建版本、无法 fetch, 且仅限 macOS 27 上的 Apple M4 Max。它的预先登记的正式上线关卡没有通过(条件 5 和 7 未通过,结论为 Research Only / No Ship;research/ane-w8-l64-gate/README.md)。laya 和 laya-multilingual 没有通过 parity 关卡(research/ane-w8/README.md)。 - MLX 快速路径的提升(约 1–4%)来自筛选测试, 不是完整的 benchmark
(
benchmarks/mlx-fast-path-screen/README.md)。 - Switchyard 没有平衡轮次顺序: 使用标准 seed 时,三次运行都是 GPU + ANE 先跑。
各个 benchmark 自身的局限记录在对应的实验文档中,例如选项顺序见
docs/correctness.md,serve 和客户端的注意事项见
docs/serve.md,尚未测量的内容见
docs/compatibility.md。
研究、版本与复现
- 复现。 上面每个主要数字,都能在
docs/reproducibility.md中找到对应的报告、原始数据、命令和环境。预构建 artifact 的检查记录在benchmarks/prebuilt-artifacts-1.6.0.md(macOS 26)和benchmarks/prebuilt-artifacts-1.6.2-macos27.md(macOS 27)。1.5 的相关证据见research/coreml-adaptive-breaker/。 - 研究。 1.5 和 1.6 版本背后的研究脉络,包括失败的路线,整理在
research/README.md。 - 版本。 所有变更都记录在
CHANGELOG.md;release notes 放在docs/releases/,最新的是 1.7.0、 1.6.3 和 1.6.2。
参与贡献
最有价值的第一份贡献,是提交 M4 Max 以外机型的 benchmark 结果(具体做法)。
CONTRIBUTING.md 介绍了环境搭建、测试分级和 parity 检查;coding agent 请遵循
AGENTS.md。待处理的工作标有 good first issue、help wanted 和 research。
更多:用户指南 · 稳定 API · 架构 · 变更记录 · 安全。
采用 Apache-2.0 许可证;见 LICENSE 和 NOTICE。模型权重从指定的
Hugging Face revision 下载,本项目不重新分发。这是一个独立项目,并非 Convai Innovations、Apple 或 MLX
的官方版本。
探索相关项目
加载中…