惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
The GitHub Blog
The GitHub Blog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 聂微东
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
小众软件
小众软件
博客园_首页
G
Google Developers Blog
Apple Machine Learning Research
Apple Machine Learning Research
MyScale Blog
MyScale Blog
Engineering at Meta
Engineering at Meta
Jina AI
Jina AI
酷 壳 – CoolShell
酷 壳 – CoolShell
人人都是产品经理
人人都是产品经理
B
Blog RSS Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
D
Docker
B
Blog
雷峰网
雷峰网
WordPress大学
WordPress大学
Stack Overflow Blog
Stack Overflow Blog
宝玉的分享
宝玉的分享

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - john-rocky/coreai-model-zoo: Community model zoo...
mlboy · 2026-06-12 · via Hacker News - Newest: "AI"

LLMs converted to Apple Core AI (.aimodel, iOS 27 / macOS 27) — downloadable, verified on-device, with the conversion code and a knowledge base. Successor to CoreML-Models.

Models

Model Download (.aimodel) License
Qwen3.5-0.8B 🤗 qwen3.5-0.8B-CoreAI Apache-2.0
Qwen3.5-2B 🤗 qwen3.5-2B-CoreAI Apache-2.0
Qwen3.6-35B-A3B (MoE, Mac-only) 🤗 Qwen3.6-35B-A3B-CoreAI Apache-2.0
Qwen3.6-27B (dense, Mac-only) 🤗 Qwen3.6-27B-CoreAI Apache-2.0
GLM-4.7-Flash (MoE + MLA, Mac-only) 🤗 GLM-4.7-Flash-CoreAI MIT
Gemma 4 E2B (text, incl. official-QAT int4) 🤗 gemma-4-E2B-CoreAI Gemma
Gemma 4 E4B (text, official-QAT int4) 🤗 gemma-4-E4B-CoreAI Gemma
Gemma 4 12B (dense, Mac-only — custom flash-decode kernel ‡) 🤗 Gemma-4-12B-CoreAI Gemma
Gemma 4 31B (dense, Mac-only — custom flash-decode kernel ‡) 🤗 Gemma-4-31B-CoreAI Gemma
LFM2.5-1.2B-Instruct 🤗 LFM2.5-1.2B-CoreAI LFM Open License v1.0
LFM2.5-8B-A1B (MoE, custom gather_qmm kernel — first iPhone MoE) 🤗 LFM2.5-8B-A1B-CoreAI LFM Open License v1.0
Granite 4.0-H 1B / 350M 🤗 granite-4.0-h-CoreAI Apache-2.0
Qwen3-VL (vision-language) 🤗 2B · 4B · 8B Apache-2.0
Gemma 4 E2B vision (VL) (image+text) vl/ in 🤗 gemma-4-E2B-CoreAI Gemma
RF-DETR nano/small/medium/large (object detection, no NMS) 🤗 RF-DETR-CoreAI Apache-2.0
RF-DETR-Seg nano→2xlarge (instance segmentation, 6 sizes) 🤗 RF-DETR-CoreAI Apache-2.0

Decode throughput (tok/s, greedy; output top-1 exact vs the Hugging Face reference)

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
Granite 4.0-H 1B 36.3 136.5
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
Qwen3.6-35B-A3B (MoE, 35B/~3B active, Mac-only) 64.9
Qwen3.6-27B (dense, Mac-only) 15.9
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: zoo/.

  • LFM2.5-8B-A1B (MoE, 8.3B/~1.5B active) — a 32-expert MoE made practical by a custom gather_qmm Metal kernel that reads only the 4/32 routed experts (fixes the GatherMM dense over-read), 39 → 141 tok/s (3.6×). Kept OUT of the table above (custom kernel). Shipped Mac-only: the sym8 (linear int8) bundle is clean (fp32-oracle margin gate: +1 flip/41, at the fp16 ceiling) AND 3.6× faster. The int4 bundle that fits the iPhone was validated to run on device (first MoE on the phone) but non-QAT int4 is a quality wall (~12 flips/41, two schemes) so it is not shipped. Full numbers: zoo/lfm2.5-8b-a1b-moe.md
  • Qwen3.6-35B-A3B (MoE, 35B/~3B active) — the gather_qmm kernel takes decode 30.9 → 64.9 tok/s (2.1×) at the SAME clean int8 quality (0 introduced flips/18 vs fp16), closing the expert-gather half of the old ~4× MLX gap (the rest is int8-vs-int4 bytes, and int4 fails this model's numerics); zoo/qwen3.6.md
  • Qwen3.6-27B (dense) — the quality pick: int8 output == fp16; dense reads the whole model per token, hence slower than the ~3B-active MoE; zoo/qwen3.6-27b.md
  • Gemma 4 12B / 31B (dense) — the first Core AI runtime for a ≥16-head × 512 full-attention model: the stock SDPA crashes on the full layers' Q (scratch-heap overflow, #27), so the full layers' SDPA is a custom flash-decode Metal kernel (block-GQA, higher-occupancy sequence-split for long context). 12B int8 == fp32 oracle; 31B is a frontier dense at int4 (4 global KV heads); zoo/gemma4-12b.md · zoo/gemma4-31b.md
  • GLM-4.7-Flash (MoE + MLA, 30B/~3B active) — the zoo's first Multi-head Latent Attention model; full-MLA attention on all 47 layers (absorbed-MLA is the speed follow-up); zoo/glm-4.7-flash.md
  • RF-DETR / RF-DETR-Seg — detection 33–39 FPS live on iPhone 17 Pro; instance segmentation in 6 sizes, masks gated IoU 1.000, 10.7–59.1 ms/frame on M4 Max; zoo/rf-detr.md
  • Gemma 4 E2B VL — same text decoder + a 3-line image splice; zoo/gemma4-vl.md

CoreAIChat screen recording

CoreAIChat (apps/) — the zoo's models running on-device on iPhone.

Repository layout

Dir What
zoo/ Model cards — configurations, sizes, parity, measured throughput.
knowledge/ Verified notes on the framework: conversion, compression, stateful KV, custom Metal kernels, AOT, compute-unit rules, the Swift runtime.
conversion/ Re-authored models + convert / verify / compress scripts (PyTorch → .aimodel).
swift/ CoreAIRunner — a Swift package that drives .aimodel LLM bundles, including architectures beyond the standard runtime.
apps/ SwiftUI on-device chat apps (iOS 27): CoreAIChat (Gemma 4 E2B GPU/ANE/⚡ + Qwen3.5 / Qwen3.5-2B / LFM2.5 / Granite ⚡pipelined, one picker) + QwenChatFast (Qwen3.5 static kernels) with in-app model download.

Start here

License

BSD-3-Clause (LICENSE). Re-authored model code derives from Apple's BSD-3-Clause coreai_models and retains its notices. Model weights follow their own licenses (see each Hugging Face repo).