Serdar Yegulalp
Senior Writer

Apple releases TensorFlow fork with speedups for M1 Macs

news
Nov 18, 20202 mins

Apple says the M1-compiled version of TensorFlow delivers several times faster performance on a number of benchmarks, while running existing TensorFlow scripts as-is

bolts of light speeding through the acceleration tunnel 95535268
Credit: Thinkstock

Apple has released its own fork of the TensorFlow 2.4 machine learning framework, specifically optimized for its newly released M1 processor.

According to Apple, the M1-compiled version of TensorFlow delivers several times faster performance on a number of benchmarks, compared to the same jobs running on an Intel version of the same 2020 edition MacBook Pro.

The fork, available as open source, requires MacOS 11.0 or better, and provides accelerations on Macs running the new M1 processor.

Existing TensorFlow scripts run as-is with the fork; they do not need to be reworked to take advantage of its performance gains. According to VentureBeat, Apple plans to contribute its changes to the main TensorFlow project, to serve as a basis for other optimizations.

Apple’s revamp of TensorFlow is one of the first examples of how M1 Macs are intended to draw developers to the Mac platform. M1 chips in new Macs replace the use of the Intel x86 processor, but can run existing software compiled for the x86 by way of Apple’s Rosetta2 binary translation technology.

However, Rosetta2-translated apps do incur a performance hit, with some benchmarks running as slowly as 59% of native speed. For performance-sensitive applications, it makes sense to compile them to run natively on the M1.

Serdar Yegulalp

Serdar Yegulalp is a senior writer at InfoWorld. A veteran technology journalist, Serdar has been writing about computers, operating systems, databases, programming, and other information technology topics for 30 years. Before joining InfoWorld in 2013, Serdar wrote for Windows Magazine, InformationWeek, Byte, and a slew of other publications. At InfoWorld, Serdar has covered software development, devops, containerization, machine learning, and artificial intelligence, winning several B2B journalism awards including a 2024 Neal Award and a 2025 Azbee Award for best instructional content and best how-to article, respectively. He currently focuses on software development tools and technologies and major programming languages including Python, Rust, Go, Zig, and Wasm. Tune into his weekly Dev with Serdar videos for programming tips and techniques and close looks at programming libraries and tools.

More from this author