Installing Tensorflow for m1 mac
We need to install miniforge
Mac OS based on M1 chip can only run tensorflow using conda python and the following commands need to run on the pip which is the in the conda env directory
pip install --upgrade --force --no-dependencies https://github.com/apple/tensorflow_macos/releases/download/v0.1alpha3/tensorflow_macos-0.1a3-cp38-cp38-macosx_11_0_arm64.whl https://github.com/apple/tensorflow_macos/releases/download/v0.1alpha3/tensorflow_addons_macos-0.1a3-cp38-cp38-macosx_11_0_arm64.whl
References:
https://medium.com/codex/installing-tensorflow-on-m1-macs-958767a7a4b3
Comments
Post a Comment