Apple Core AI Framework

328 points · 92 comments on HN · read original →

Points and comments are a snapshot, not live.

Apple releases Core AI, a framework for running neural network models on-device across CPU, GPU, and Neural Engine.

Core AI is a new Swift framework for building and deploying AI models on Apple silicon. It supports converting PyTorch models to a proprietary `.aimodel` format optimized for CPU, GPU, and the Neural Engine. The framework includes tools for model preparation (Core AI Optimization), conversion (Core AI PyTorch Extensions), and debugging (Core AI Debugger app). It integrates with Xcode via debug gauges and instruments for performance profiling. Models can be compiled ahead of time using the `coreai-build` command-line tool. The documentation notes that Core ML remains the appropriate choice for non-neural-network models like decision trees and tabular feature engineering. Core AI requires OS 27.0 or later across iOS, iPadOS, macOS, tvOS, visionOS, and watchOS.

What commenters are saying

Discussion centers on Core AI's positioning relative to existing frameworks. Core ML narrows to classic, non-neural ML (decision trees, tabular models), while Core AI targets neural networks and transformers. Commenters note MLX remains a separate track for research. One user flagged that OS 27+ requirement means Core ML still matters for backwards compatibility. Some expressed confusion about feature parity and benefits across Core AI, Core ML, and MLX, calling for clearer documentation. A [#1] comment linked research showing reverse-engineered ANE APIs achieved significant performance improvements over CoreML and Metal. Several commenters welcomed on-device models as a counter to hyperscaler AI infrastructure costs.

A separate discussion thread noted Apple's new `fm` tool for foundation models, with speculation about OpenAPI compatibility and containerization strategy for future MCP support.