{"id":80222,"date":"2026-06-20T11:20:12","date_gmt":"2026-06-20T11:20:12","guid":{"rendered":"https:\/\/www.europesays.com\/ai\/80222\/"},"modified":"2026-06-20T11:20:12","modified_gmt":"2026-06-20T11:20:12","slug":"apple-launches-core-ai-for-apple-silicon-optimized-on-device-generative-ai","status":"publish","type":"post","link":"https:\/\/www.europesays.com\/ai\/80222\/","title":{"rendered":"Apple Launches Core AI for Apple-Silicon Optimized On-Device Generative AI"},"content":{"rendered":"<p>At WWDC 26, Apple announced the <a href=\"https:\/\/developer.apple.com\/documentation\/coreai\" rel=\"nofollow noopener\" target=\"_blank\">Core AI framework<\/a>, the official successor to Core ML. It is designed to allow developers to run large language models and generative AI entirely on-device, supporting both custom-converted PyTorch models and pre-optimized open-source models.<\/p>\n<p>Apple says the new Core AI framework provides a unified architecture for deploying models ranging from <a href=\"https:\/\/developer.apple.com\/videos\/play\/wwdc2026\/324\/?time=33\" rel=\"nofollow noopener\" target=\"_blank\">compact 3B-parameter vision models to large-scale LLMs, including reasoning models with up to 70B-parameter reasoning models<\/a>, across the iPhone, iPad, Mac, and Apple Vision Pro.<\/p>\n<p>Core AI is the technology underpinning Apple Intelligence, and with the next release of its OSes and toolchain, Apple is making it available to developers to build what it calls &#8220;custom intelligence&#8221;. Core AI, which can only run on Apple Silicon, ensures user data privacy, zero server dependencies, and zero per-token cloud costs.<\/p>\n<p><img decoding=\"async\" alt=\"\" style=\"width: 350px;\" src=\"https:\/\/www.infoq.com\/news\/2026\/06\/apple-core-ai-wwdc\/news\/2026\/06\/apple-core-ai-wwdc\/en\/resources\/12image1-1781953134035.jpg\" rel=\"share\"\/><\/p>\n<p>Key Core AI capabilities include unified hardware access, allowing workloads to seamlessly run across the CPU, GPU, and Neural Engine under one API; a memory-safe Swift API enabling zero-copy data paths and fine-grained control over inference memory; and ahead-of-time (AOT) compilation, which shifts work off the user&#8217;s device, yielding near-instant load times.<\/p>\n<p>As mentioned, you can convert a PyTorch model into a Core AI model using <a href=\"https:\/\/apple.github.io\/coreai-torch\" rel=\"nofollow noopener\" target=\"_blank\">Core AI PyTorch<\/a>. The simplest approach is exporting a PyTorch as a torch.export.ExportedProgram and convert it to a CoreAI AIProgram using TorchConverter().add_exported_program(ep).to_coreai().<\/p>\n<p>Alternatively, you can author a new Core AI model from a PyTorch one using <a href=\"https:\/\/apple.github.io\/coreai-torch\/main\/guides\/composite-ops.html\" rel=\"nofollow noopener\" target=\"_blank\">built-in composite ops<\/a> provided by the library, such as attention, RoPE embeddings, RMSNorm, and gather-matmul, registering custom lowering function to map new PyTorch ops to Core AI IR, or even creating <a href=\"https:\/\/apple.github.io\/coreai-torch\/main\/guides\/custom-metal-kernels.html\" rel=\"nofollow noopener\" target=\"_blank\">custom Metal kernels<\/a> for lower-level optimization.<\/p>\n<p>When converting a PyTorch model, an critical step is <a href=\"https:\/\/apple.github.io\/coreai-optimization\/\" rel=\"nofollow noopener\" target=\"_blank\">compressing it for deployment on Apple hardware<\/a>. This process applies optimization techniques such as <a href=\"https:\/\/apple.github.io\/coreai-optimization\/quantization\/index.html\" rel=\"nofollow noopener\" target=\"_blank\">quantization<\/a> and <a href=\"https:\/\/apple.github.io\/coreai-optimization\/palettization\/index.html\" rel=\"nofollow noopener\" target=\"_blank\">palettization<\/a>, which are designed to align with the execution patterns of the Core AI runtime by default, ensuring efficient on-device performance.<\/p>\n<p>&#13;<\/p>\n<p>Model compression can help reduce the memory footprint of your model (disk size and at runtime), reduce inference latency, reduce power consumption, or optimize them all at once.<\/p>\n<p>&#13;<\/p>\n<p>One important aspect of running an AIModel is its automatic <a href=\"https:\/\/developer.apple.com\/documentation\/CoreAI\/compiling-core-ai-models-ahead-of-time\" rel=\"nofollow noopener\" target=\"_blank\">specialization<\/a> to the current hardware and OS version, which is carried through when the model is first loaded into the model cache. As a result, the first attempt to use a model may take significantly longer than subsequent runs, once the model has been already cached. Developers can control how and when this process happens by customizing <a href=\"https:\/\/developer.apple.com\/documentation\/coreai\/specializationoptions\" rel=\"nofollow noopener\" target=\"_blank\">SpecializationOptions<\/a>, accessing the <a href=\"https:\/\/developer.apple.com\/documentation\/coreai\/aimodelcache\" rel=\"nofollow noopener\" target=\"_blank\">AICacheModel<\/a> to check whether a model is already available or delete cached ones, and even sharing the model cache across an app group.<\/p>\n<p>With the introduction of Core AI, Apple is providing support for three distinct approaches to run ML\/AI on its operating systems: Core ML, Core AI, and MLX Swift. Based on developer discussions based on Hacker News, <a href=\"https:\/\/news.ycombinator.com\/item?id=48459443\" rel=\"nofollow noopener\" target=\"_blank\">Apple seems to suggest<\/a> using Core ML for &#8220;classic, non-neural ML&#8221;, such as decision trees or tabular feature engineering, Core AI for neural networks and transformers, and MLX for working with custom model weights\u2014though potentially with <a href=\"https:\/\/news.ycombinator.com\/item?id=48454273\" rel=\"nofollow noopener\" target=\"_blank\">lower performance<\/a>. <a href=\"https:\/\/www.reddit.com\/r\/iOSProgramming\/comments\/1u1nfxr\/comment\/or7429o\/?utm_source=share&amp;utm_medium=web3x&amp;utm_name=web3xcss&amp;utm_term=1&amp;utm_content=share_button\" rel=\"nofollow noopener\" target=\"_blank\">Community feedback also notes<\/a> that while Core AI &#8220;makes it easier to incorporate high-performance LLMs&#8221;, its long-term value will depend &#8220;on the the future growth of the official Core AI\/community&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"At WWDC 26, Apple announced the Core AI framework, the official successor to Core ML. It is designed&hellip;\n","protected":false},"author":2,"featured_media":80223,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[24,319,43639,25,633,9835,1642,8345,634,1110,5147,27505],"class_list":["post-80222","post","type-post","status-publish","format-standard","has-post-thumbnail","category-ai","tag-ai","tag-apple","tag-apple-core-ai-wwdc","tag-artificial-intelligence","tag-development","tag-ios","tag-large-language-models","tag-macos","tag-ml-data-engineering","tag-mobile","tag-python","tag-visionos"],"_links":{"self":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/80222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/comments?post=80222"}],"version-history":[{"count":0,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/80222\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media\/80223"}],"wp:attachment":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media?parent=80222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/categories?post=80222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/tags?post=80222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}