AI Skill Hub 强烈推荐:Core AI 模型库 是一款优质的AI工具。AI 综合评分 8.0 分,在同类工具中表现稳健。如果你正在寻找可靠的AI工具解决方案,这是一个值得深入了解的选择。
Core AI 模型库 是一款基于 Swift 开发的开源工具,专注于 ai、apple-silicon、coreai 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
Core AI 模型库 是一款基于 Swift 开发的开源工具,专注于 ai、apple-silicon、coreai 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 克隆仓库 git clone https://github.com/john-rocky/coreai-model-zoo cd coreai-model-zoo # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 coreai-model-zoo --help # 基本运行 coreai-model-zoo [options] <input> # 详细使用说明请查阅文档 # https://github.com/john-rocky/coreai-model-zoo
# coreai-model-zoo 配置说明 # 查看配置选项 coreai-model-zoo --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export COREAI_MODEL_ZOO_CONFIG="/path/to/config.yml"
Core AI is Apple's on-device ML runtime in iOS 27 / macOS 27 and the successor to Core ML: PyTorch models are exported with Apple's coreai-torch (LLMs: coreai.llm.export) into .aimodel bundles that run on the GPU or the Neural Engine, e.g. Qwen3-8B 4-bit decodes at 94 tok/s on an M4 Max GPU, MLX 90 under the same protocol (apple-silicon-llm-bench, macOS 27 beta, 2026-06).
Converted models + conversion recipes for Apple Core AI (.aimodel, iOS 27 / macOS 27): every model here is downloadable, gated against the original model before it ships, and carries the recipe that produced it in models/<model>/recipe.toml — rerun it (zoo_convert.py run <name>), check the published bundle against its source model (zoo_verify.py), or adapt it for your own port. Don't take the gates on faith — they are run here, and everything needed to re-run them is published. Each card states what was measured on which hardware (iPhone tier is device-measured; the large models are Mac-only and say so) and how strong that model's parity proof is, because it differs per model. Where the shipped configuration could not be recovered from the repository, the recipe says so rather than guessing. Model ports are open to everyone — the catalog serves community ports from the contributor's own Hugging Face namespace, credited by name (who). Successor to CoreML-Models.
Every published bundle carries the configuration that produced it in models/<model>/recipe.toml, and one command runs it:
python3 conversion/zoo_convert.py list # what can be rebuilt
python3 conversion/zoo_convert.py show qwen3.5-0.8b # the command + everything it needs
python3 conversion/zoo_convert.py run qwen3.5-0.8b --dry-run
python3 conversion/zoo_convert.py run qwen3.5-0.8b # do it
show prints four kinds of prerequisite, and the run-time ones matter as much as the rest — an export that skips them still succeeds, and the bundle then misbehaves inside the app:
| line | means |
|---|---|
overlay | the interpreter needs coreai_models with [conversion/overlay/](conversion/overlay/) applied — zoo_convert.py doctor checks it |
needs | something the export cannot run without: a checkpoint download, a gather-table dump, a package patch |
runtime | what the **app** needs to run the result: an engine patch from [apps/](apps/), an environment variable such as COREAI_CHUNK_THRESHOLD=1 |
device | the AOT compile step for the iPhone bundle |
uv | this script declares its own dependencies — no venv, no overlay, nothing to install |
Ports whose exporter is self-contained need no setup at all:
uv run conversion/export_da3.py --variant small --dtype float16 --res 504
Paths never assume a machine: python3 conversion/_paths.py prints where downloads, exports and the Hugging Face cache resolve, and ZOO_WORK_ROOT / ZOO_EXPORTS / ZOO_CODE_ROOT / HF_HUB_CACHE move them.
A recipe marked unverified refuses to run without --force. It means the repository does not record which configuration produced the published bundle, and it prints the exact question it cannot answer. Running it anyway yields a bundle, not the bundle.
Do not expect a checksum match. Conversion is not byte-deterministic here: the same recipe run twice on the same machine produces bundles that differ from each other (measured: main.mlirb by 7 bytes, main.hash entirely). A rebuild is judged by the gates the export runs — and by checking the published artifact itself:
python3 conversion/zoo_verify.py mlboydaisuke/Gemma-4-12B-CoreAI # one repo
python3 conversion/zoo_verify.py --all --json models/_VERIFY.json # the whole catalog, minutes
That compares a bundle's tokenizer, chat template, context length and declared precision against the source model it names in its own metadata.json — no oracle, no device, no weights.
The numerical check is a different command. zoo_verify.py checks that a bundle is described correctly; it does not check that the bundle still computes the right thing. That is conversion/coreai_gate.py, which rebuilds the reference model in fp32 and compares a greedy decode token for token:
python3 conversion/coreai_gate.py <bundle-dir> Qwen/Qwen3.5-2B --revision <sha> \
--transcript models/qwen3.5-2b/gate.json
It runs outside this working tree — point --runner / ZOO_LLM_RUNNER at your llm-runner and --python / ZOO_CONVERT_PYTHON at an interpreter that has the export overlay, and it tells you which one is missing rather than failing obscurely. It currently covers the decode architectures in --arch (the oracle is a per-architecture transcription of that model's export, so it grows one port at a time, not all at once).
--transcript is the part worth publishing: the pinned revision, the exact input_ids, both sides' generated tokens, the tie margins, and the verdict. Rebuilding the oracle is expensive; re-running the engine side against a published transcript is not — it needs the bundle, llm-runner, and the recorded input_ids, and the output must match engine.gen_text.
New ports publish one. For models ported before the flag existed, conversion/backfill_gate_transcripts.py prints what can still be gated and, with --run, gates it — preferring the published bundle out of the CoreAIKit cache over a local export, so the transcript describes the bytes apps download at the revision the catalog pins. Nothing reconstructs a transcript from a card's prose after the fact: a model that cannot be re-gated keeps a card that says what was gated, without a file claiming to prove it.
Results land in models/_INVENTORY.md; models/index.json is the same catalog machine-readable, which is where an agent should start. Each recipe entry there carries status (does the repository record what produced this bundle) and gate_transcript (is the numerical check against the original published, and where) — two different questions, kept as two fields so neither has to be inferred from prose.
/plugin marketplace add https://github.com/john-rocky/coreai-model-zoo
/plugin install coreai-zoo-skills@coreai-model-zoo
codex plugin marketplace add https://github.com/john-rocky/coreai-model-zoo
then /plugins → coreai-model-zoo → coreai-zoo-skills → Install.
gemini extensions install /path/to/coreai-model-zoo/skills
Apple's own coreai-skills covers the toolchain itself (authoring, export, compression). These two cover this catalog; install both.
| iPhone 17 Pro · GPU | iPhone 17 Pro · ANE | M4 Max · GPU | |
|---|---|---|---|
| **Qwen3.5-0.8B** | **71.9** | 14.7 | **210** |
| **Qwen3.5-2B** | **29** | — | **161** |
| **LFM2.5-1.2B** | **45.4** | — | **276.5** |
| **LFM2.5-2.6B** (reasoning; int8hu / int4lin 2.0 GB) | not measured | — | **116.7** / **139.2** |
| **Granite 4.0-H 1B** | **36.3** | — | **136.5** |
| **Nanbeige4.1-3B** | **15.9** | — | **114.5** |
| **Nanbeige4.2-3B** (22 physical / 44 executed+cache layers; int8) | pending | — | **46.4** |
| **S1-mini** (Superwhisper, ASR text normalizer, int8lin — device 276/276 + 27/27 token-exact; ⚠️ iOS cap: prompt+gen < 1024 tok) | **62.4** | — | **268.4** |
| **MiniCPM5-1B** (OpenBMB, int8 per-block-32 since 2026-09-09 — 24/24 + 6/6-incl.-stop on device, 16/16 on Mac; the earlier per-channel bundle never halted) | **61.7** | — | 246.6 |
| **MiniCPM5-2B** (OpenBMB, int8 — 16/16 exact vs fp32 HF on Mac, 24/24 + 24/24 on device) | **22.4** | — | 127.6 |
| **Youtu-LLM-2B** (dense MLA, int8 — 16/16 device ≡ Mac ≡ HF) | **~19** (in-app ~24) | — | **102.8** |
| **FastContext-1.0-4B** (repo-exploration agent, 4bit — AOT h18p; ANE inference unsupported) | **20.4** | ✗ | — |
| **BitCPM-8B** (1.58-bit ternary, OpenBMB — custom 2-bit packed-GEMM kernel; AOT h18p; ~2.1 GB resident; token-exact 3/3 vs ref) | **17** | ✗ | **62.7** |
| **Gemma 4 E2B** | **30.3** (QAT 30.7) | 6 | **77.0** (QAT 78.9) |
| **Gemma 4 E4B** (official QAT) | **15.1** | — | **55.8** |
| **Gemma 4 E2B VL** (image+text, official QAT) | **25.5** | — | **82.4** |
| **MiniCPM-V 4.6** (vision-language, sub-2B) | **53.4** | — | **224.3** |
| **LFM2.5-VL-450M** (vision-language, int8lin — image buffer bound; vision encode 33.6 ms/image on iPhone, 18.0 on Mac) | **112.0** | — | **387.2** |
| **LFM2.5-VL-3B** (vision-language, int4 on iPhone / int8 on Mac; vision 75.7 ms/image) | **19.3–22.8** | — | **105.3** |
| **North-Micro-Vision** (vision-language 2.4B, int8lin — image bound; vision 83.4 ms/image on Mac) | **18.2** | — | **118.6** |
| **Qwen3.6-35B-A3B** (MoE, 35B/~3B active, Mac-only) | — | — | **64.9** † |
| **Qwen3.6-27B** (dense, Mac-only) | — | — | **15.9** |
| **Qwen3.8-27B** (dense VLM, Mac-only; vision 111 ms/image, VLM prefill 86.0 tok/s via pf16) | — | — | **15.7** |
| **GLM-4.7-Flash** (MoE + MLA, 30B/~3B active, Mac-only) | — | — | **52.4** † |
| **Gemma 4 12B** (dense, Mac-only) | — | — | **23** int8 / **33** int4 ‡ |
| **Gemma 4 31B** (dense, Mac-only) | — | — | **17.2** int4 ‡ |
Measured on the iOS 27 / macOS 27 beta, Apple's coreai-pipelined GPU engine, zero custom kernels (ANE column + †/‡ excepted). † = MoE bundle using the custom gather_qmm Metal kernel (reads only the routed experts). ‡ = dense bundle whose full/global-attention SDPA is a custom flash-decode Metal kernel — the stock MPSGraph SDPA crashes on the ≥16-head × 512 Q (a GPU scratch-heap overflow, apple/coreai-models#27), so these models are unrunnable without it. Prefill, sizes, per-model caveats, and the Mac-only big models: models/.
<p align="center"> <img width="380" alt="CoreAIChat screen recording" src="https://github.com/user-attachments/assets/999dbd95-45b5-468f-b1a8-34112ee3b74d" /> </p> <p align="center"><i>CoreAIChat (<a href="apps/">apps/</a>) — the zoo's models running on-device on iPhone.</i></p>
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
总体来看,Core AI 模型库 是一款质量优秀的AI工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | coreai-model-zoo |
| 原始描述 | 开源AI工具:Community model zoo + knowledge base for Apple Core AI (iOS/macOS 27): Qwen3.5 &。⭐25 · Swift |
| Topics | aiapple-siliconcoreaiswift |
| GitHub | https://github.com/john-rocky/coreai-model-zoo |
| License | NOASSERTION |
| 语言 | Swift |
收录时间:2026-06-11 · 更新时间:2026-06-11 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。