New Apple M1 MacBook Pro trounces Intel-based predecessor on AI training

Apple M1
(Image credit: Apple)

Apple has released a new version of Google's TensorFlow v2.4 machine learning library that’s optimized for its new M1-powered Macs.

The new M1-optimized release leverages Apple’s new ML Compute framework that’s meant to accelerate training of neural networks by employing not just the CPUs, but also any available GPUs. 

Apple’s new ML Compute framework is included with its latest macOS Big Sur release and enables TensorFlow users to now use the full potential of the M1’s 8-core CPU and 8-core GPU.

Top performer

The new ML Compute framework utilizes the high performance BNNS primitives made available by the Accelerate framework for the CPU and Metal Performance Shaders for the GPU.

Reports quote Apple as claiming that using the optimized TensorFlow release users can get up to 700% faster training on the 13-inch MacBook Pro with M1. Apple also claims that training a style transfer algorithm on an Intel-powered 2019 Mac Pro with the TensorFlow optimizations complete in around two seconds as opposed to six on unoptimized TensorFlow releases on the same machine.

performance comparison using the Apple forked TensorFlow library

(Image credit: Apple)

When ML Compute was first announced, developers had trouble adapting their existing ML scripts to interface with the new API. Apple has now eliminated those issues with this new TensorFlow fork. 

Developers can now simply download and use the Mac-optimized TensorFlow 2.4 fork to take full advantage of the resources on their new M1-powered Macs without making any changes to their TensorFlow scripts.

Writing in the official TensorFlow blog, Apple developers say that they’ll soon integrate the fork into the TensorFlow mainline.

Via: VentureBeat

TOPICS
Mayank Sharma

With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.

Latest in Pro
European Union technical background
EU tech companies push for digital sovereignty, reducing reliance on US and others
3D version of the Adobe logo
Adobe Summit 2025 - all the news and updates as it happens
Teams on iPhone and Mac
Microsoft Teams has a whole new way for you to talk to (or annoy) your co-workers
person at a computer
Many workers are overconfident at spotting phishing attacks
AI tools.
Laying the foundations for successful GenAI adoption
A person in a wheelchair working at a computer.
Why betting on Mac security could put your organization at risk
Latest in News
European Union technical background
EU tech companies push for digital sovereignty, reducing reliance on US and others
Star Wars Knights of the Old Republic
Knights of the Old Republic remake developer Saber Interactive states all its projects are 'still in development'
google nest
Google is slowly phasing out its Assistant helper to make room for Gemini's reign in smartphones - here’s how it’s doing the same for smart home devices
Renault 5 Turbo 3E
Renault unveils its wildest EV to date and it comes with in-wheel motors and a rally-style vertical handbrake for drifting
Circular smart ring
Circular's new smart ring is getting blood pressure and blood glucose monitoring before the Apple Watch
Gemini on a mobile phone.
Worryingly, Google Gemini’s new AI image generation features can be used to remove watermarks from images and I'm concerned