Core ML
A machine learning framework introduced by Apple for running and deploying AI models locally on iOS and macOS devices. It supports neural engine-accelerated inference and is a core component of the on-device AI development toolchain.
Core Facts
Apple has established an on-device inference ecosystem through the Core ML framework and the MLX machine learning framework designed specifically for Apple Silicon.
The Neural Engine in Apple's custom chips is an NPU optimized specifically for matrix multiplication and convolution operations, and offers higher energy efficiency than general-purpose CPUs and GPUs on specific AI inference tasks.
Apple Intelligence是苹果在WWDC 2024上发布的系统级AI框架
Timeline (last 90 days)
Whether a model can perform inference smoothly on a Mac mini depends on parameter scale, quantization precision (such as 4-bit/8-bit) and whether optimization frameworks such as Core ML or llama.cpp are used.
The ExecuTorch runtime is implemented in C++, provides a lightweight interpreter and hardware backend interfaces (such as XNNPACK, Core ML, Vulkan, etc.), and exposes Python bindings.
Frameworks such as Apple's Core ML and Google's ML Kit provide developers with deployment tools for on-device AI.
ExecuTorch adopts a layered architecture: the frontend receives the graph exported by torch.export, goes through graph optimization and operator decomposition, and ultimately the backend (such as XNNPACK, Core ML, Vulkan, WebGPU) is responsible for kernel execution.
Core ML is an on-device machine learning framework Apple has offered since iOS 11; developers can convert trained models into Core ML format and integrate them into apps, with inference performed jointly by the CPU, GPU and Neural Engine, all without network requests.
The Vision framework is built on top of Core ML and packages ready-made capabilities such as face detection, person segmentation and image similarity, so developers can complete person recognition and clustering in photos with a few lines of code.
Local AI inference means model weights and computation are entirely completed on the user's device without relying on remote APIs; on Mac it is usually accelerated via the Metal Performance Shaders (MPS) or Core ML frameworks, and cross-platform runtimes such as llama.cpp and Ollama can also be used.
On-device transcription typically relies on lightweight neural network models (such as distilled versions of Whisper) and local inference frameworks (such as Core ML and ONNX Runtime).
Apple provides Core ML, Metal and the MLX framework launched in recent years in macOS and iOS for local model deployment.
The Neural Engine is a dedicated module in Apple Silicon specifically for accelerating machine learning computations, and it can be invoked through the Core ML framework.
26 more timeline events
All Facts (20)
Apple has established an on-device inference ecosystem through the Core ML framework and the MLX machine learning framework designed specifically for Apple Silicon.
90%VerifiedThe Neural Engine in Apple's custom chips is an NPU optimized specifically for matrix multiplication and convolution operations, and offers higher energy efficiency than general-purpose CPUs and GPUs on specific AI inference tasks.
80%VerifiedApple Intelligence是苹果在WWDC 2024上发布的系统级AI框架
80%VerifiedOn-device processing means the AI model runs inference and computation directly on the user's device, without uploading raw data to the cloud.
75%VerifiedThe Apple Core ML framework allows developers to convert models trained in PyTorch or TensorFlow to the .mlmodel format for local execution, leveraging parallel computation across the GPU and Neural Engine.
75%VerifiedApple introduced an enhanced Speech framework in macOS 14, along with optimized Core ML conversions for the Whisper model.
65%Unverified在Apple Silicon设备上,借助Core ML转换工具和ANE加速,Whisper medium模型可实现接近实时的转录速度
75%Partially VerifiedApple has simultaneous control over chip design, the operating system, and application frameworks (such as Core ML), enabling full-stack optimization from model compression to hardware scheduling.
65%UnverifiedWhether a model can perform inference smoothly on a Mac mini depends on parameter scale, quantization precision (such as 4-bit/8-bit) and whether optimization frameworks such as Core ML or llama.cpp are used.
50%UnverifiedThe ExecuTorch runtime is implemented in C++, provides a lightweight interpreter and hardware backend interfaces (such as XNNPACK, Core ML, Vulkan, etc.), and exposes Python bindings.
50%UnverifiedFrameworks such as Apple's Core ML and Google's ML Kit provide developers with deployment tools for on-device AI.
50%UnverifiedExecuTorch adopts a layered architecture: the frontend receives the graph exported by torch.export, goes through graph optimization and operator decomposition, and ultimately the backend (such as XNNPACK, Core ML, Vulkan, WebGPU) is responsible for kernel execution.
50%UnverifiedThe Vision framework is built on top of Core ML and packages ready-made capabilities such as face detection, person segmentation and image similarity, so developers can complete person recognition and clustering in photos with a few lines of code.
50%UnverifiedCore ML is an on-device machine learning framework Apple has offered since iOS 11; developers can convert trained models into Core ML format and integrate them into apps, with inference performed jointly by the CPU, GPU and Neural Engine, all without network requests.
50%UnverifiedLocal AI inference means model weights and computation are entirely completed on the user's device without relying on remote APIs; on Mac it is usually accelerated via the Metal Performance Shaders (MPS) or Core ML frameworks, and cross-platform runtimes such as llama.cpp and Ollama can also be used.
50%UnverifiedOn-device transcription typically relies on lightweight neural network models (such as distilled versions of Whisper) and local inference frameworks (such as Core ML and ONNX Runtime).
50%UnverifiedThe Neural Engine is a dedicated module in Apple Silicon specifically for accelerating machine learning computations, and it can be invoked through the Core ML framework.
50%UnverifiedApple provides Core ML, Metal and the MLX framework launched in recent years in macOS and iOS for local model deployment.
50%UnverifiedFor the iOS ecosystem, the barrier to integrating AI is lowering, and developers can obtain AI capabilities by calling cloud model APIs or using the on-device machine learning frameworks provided by Apple, without having to train models themselves.
50%UnverifiedOn-device frameworks (such as Apple's Core ML and Create ML) package models directly into the app and perform inference locally on the device; the advantages are low latency, offline availability, and data never leaving the device, while the drawbacks are that model size and compute power are limited by phone hardware, usually requiring quantization and compression beforehand.
50%