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

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
爱范儿
爱范儿
WordPress大学
WordPress大学
博客园 - 三生石上(FineUI控件)
J
Java Code Geeks
Vercel News
Vercel News
aimingoo的专栏
aimingoo的专栏
T
Tailwind CSS Blog
罗磊的独立博客
B
Blog
博客园_首页
A
About on SuperTechFans
有赞技术团队
有赞技术团队
V
V2EX
U
Unit 42
I
InfoQ
IT之家
IT之家
博客园 - 司徒正美
阮一峰的网络日志
阮一峰的网络日志
博客园 - 叶小钗
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Stack Overflow Blog
Stack Overflow Blog
The Cloudflare Blog
H
Help Net Security

Show HN

GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap
GitHub - john-rocky/coreai-model-zoo: Community model zoo...
mlboy · 2026-06-12 · via 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).