Apple unveils the M5 chip: neural accelerators in every GPU core for local AIFive years after the M1, the chip that changed the history of the Mac, Apple introduced the M5 this Wednesday, October 15. With a simple press release, no event, the company announced the chip along with the first devices that use it: the 14-inch MacBook Pro, the iPad Pro and the Apple Vision Pro, all available to pre-order starting today.
The new Apple M5 chip. Source: Apple.
The big news: AI in the GPU
Until now, Apple's chips ran artificial intelligence tasks mainly on the Neural Engine, a specialized unit. The M5 changes the approach: its new 10-core GPU includes a neural accelerator in each core, dedicated hardware for the matrix operations neural networks use. According to Apple, that gives it more than four times the peak AI compute of the M4's GPU, and more than six times that of the M1. In practice, this speeds up tasks like generating images with diffusion models or running large language models locally, with apps like LM Studio or Draw Things.
A language model running locally on the new MacBook Pro with M5. Source: Apple.
What the M5 brings
- Process: TSMC's third-generation 3 nm technology.
- CPU: up to 10 cores, four performance and six efficiency, with up to 15% more multithreaded performance than the M4. Apple claims it has the world's fastest CPU core.
- GPU: 10 cores with neural accelerators and third-generation ray tracing, with up to 45% more graphics performance than the M4.
- Neural Engine: 16 cores, faster than in the previous generation.
- Unified memory: 153 GB/s of bandwidth, nearly 30% more than the M4, key for running large models.
A rendering of the M5's internal layout. Source: Apple.
Why the GPU and not just the Neural Engine?
The Neural Engine is very efficient, but it's designed for relatively small models and for system features. The large language and image models the community runs locally usually rely on the GPU, through frameworks like Metal or MLX, Apple's open source machine learning library. Putting AI hardware directly into the GPU cores speeds up exactly that kind of workload, an approach similar to the Tensor Cores NVIDIA has used since 2017.
Our take
Macs with Apple chips have become one of the favorite platforms for running AI models locally, thanks to their unified memory: the GPU can use all of the machine's RAM, something that on a PC with a graphics card is limited by the card's memory. With neural accelerators in the GPU, Apple tackles its main weakness, which was compute speed compared with NVIDIA's dedicated GPUs. It seems like a very logical evolution to us. For now, the M5 only comes in its base version. If Apple follows the pattern of previous years, the Pro and Max versions, with more cores and more memory, will be the ones that really make a difference for local artificial intelligence.
|
|
|