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

推荐订阅源

D
Docker
博客园 - 三生石上(FineUI控件)
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
腾讯CDC
酷 壳 – CoolShell
酷 壳 – CoolShell
M
MIT News - Artificial intelligence
Stack Overflow Blog
Stack Overflow Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Jina AI
Jina AI
爱范儿
爱范儿
博客园 - 【当耐特】
雷峰网
雷峰网
S
SegmentFault 最新的问题
美团技术团队
Blog — PlanetScale
Blog — PlanetScale
The GitHub Blog
The GitHub Blog
有赞技术团队
有赞技术团队
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
Google DeepMind News
Google DeepMind News
J
Java Code Geeks

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - john-rocky/coreai-model-zoo: Community model zoo...
mlboy · 2026-06-12 · via Hacker News: Show HN

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).