Accelerate training of machine learning models with TensorFlow right on your Mac. Install TensorFlow v2.5 and the tensorflow-metal PluggableDevice to accelerate training with Metal on Mac GPUs.
You can learn more about TensorFlow PluggableDevices here
macOS 12.0+
Multi-GPU support Acceleration for Intel GPUs V1 TensorFlow Networks
Download and install Conda env:
chmod +x ~/Downloads/Miniforge3-MacOSX-arm64.sh
sh ~/Downloads/Miniforge3-MacOSX-arm64.sh
source ~/miniforge3/bin/activate
Install the Tensorflow dependencies:
conda install -c apple tensorflow-deps
Install base tensorflow:
python -m pip install tensorflow-macos
Install metal plugin:
python -m pip install tensorflow-metal
Hi 👋
How would I get this to work within a virtual environment? Changing the source throws me out of the env (as expected).
Pardon my lack of knowledge.
Many thanks,