Can I run llm on phone

Generated on 7/30/2024

1 search

Tailscan

This post is brought to you by Tailscan, the best devtool for Tailwind CSS.

Yes, you can run large language models (LLMs) on your phone. Apple provides tools and frameworks to help you import and run AI models, including large language models, on their devices. You can start with any PyTorch model, convert it into the Core ML format using Core ML tools, and then run it within your app using the Core ML framework. Core ML optimizes hardware-accelerated execution across the CPU, GPU, and neural engine, making it possible to run a wide array of models, including Whisper, Stable Diffusion, and Mistral, on iOS devices.

For more details, you can refer to the Platforms State of the Union session at WWDC 2024.

Can I run llm on phone | Ask WWDC