Blogs / What Core ML Is and Why On-Device Models Are in Demand

What Core ML Is and Why On-Device Models Are in Demand

What a Hugging Face post says Core ML allows, which hardware it uses, why on-device execution draws interest and what export requires.

  • Learning
  • 1 min read

For: Learners who have used an AI feature on a phone.

What Core ML allows

Core ML is a mature framework that allows machine learning models to run efficiently on-device, taking advantage of all the compute hardware in Apple devices: the CPU, the GPU, and the Neural Engine specialized in ML tasks.[1]

Why on-device execution draws interest

On-device execution is going through a period of extraordinary interest triggered by the popularity of models such as Stable Diffusion and Large Language Models with chat interfaces.[1]

Core MLruns models efficientlyon-device using the CPU,the GPU and the NeuralEngineInterest in on-deviceexecutiontriggered by StableDiffusion and LLMs withchat interfacesModels exported in aspecial formatalso referred to as Core MLdrives use ofrequires
What does Core ML need and allow?

What export requires

Models have to be exported in a special format supported by the framework, and this format is also referred to as “Core ML”.[1]

Sources

  1. Faster Stable Diffusion with Core ML on iPhone, iPad, and Mac (huggingface.co · checked )

More articles