tensorflow_macos
TensorFlow for macOS 11.0+ accelerated using Apple's ML Compute framework.
TensorFlow is a widely used toolkit for building and training machine learning models, most commonly associated with tasks like image recognition or language processing. This repository is Apple's pre-release port of TensorFlow that was tuned to run efficiently on Macs, both the older Intel-based models and the newer M1 chip models.
The main thing this project offered was hardware acceleration: instead of running model training purely on the CPU, it routed computation through Apple's ML Compute framework, which can use the GPU on your Mac to speed things up considerably. For M1 Macs, this was notable because those machines use Apple's own chip architecture, and standard TensorFlow builds at the time did not support them at all.
Installation was handled by a script that you would run from Terminal (the command-line tool on macOS). The script would set up an isolated Python environment and install the accelerated TensorFlow packages. A one-liner download-and-install command was also provided for quick setup.
This repository represents an earlier stage of Apple's Mac GPU support for machine learning. Apple has since moved this effort to a separate plugin called tensorflow-metal, which works with the standard TensorFlow 2.5 and later, and that newer approach is what Apple currently recommends. The README in this repo points users toward tensorflow-metal as the current path forward. The code here is a historical artifact of the transition period when M1 Mac support was first being introduced.