Apple releases TensorFlow fork with speedups for M1 Macs

0
22


Apple has released , 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, , 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. , 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 running as slowly as 59% of native speed. For performance-sensitive applications, it makes sense to compile them to run natively on the M1.

Copyright © 2020 IDG Communications, Inc.

LEAVE A REPLY