Here's my experience as of 18 March 2022. Able to install arm64 tensorflow and tensorflow-text and successfully execute the Tensorflow Word Embeddings tutorial found here==> https://www.tensorflow.org/text/guide/word_embeddings. (I downloaded the notebook and ran locally in jupyter)
Create a new virtual environment for this purpose:
conda create --name tf_text python=3.8
conda activate tf_text
conda install -c apple tensorflow-deps -y
pip install tensorflow-macos
pip install tensorflow-metal
conda install -c conda-forge jupyter jupyterlab -y
Download tensorflow_text-2.8.1-cp38-cp38-macosx_11_0_arm64.whl from here==>https://github.com/sun1638650145/Libraries-and-Extensions-for-TensorFlow-for-Apple-Silicon/releases
pip install /Downloads/tensorflow_text-2.8.1-cp38-cp38-macosx_11_0_arm64.whl
Able to execute the tutorial locally and produce comparable results. HTH
Topic:
Machine Learning & AI
SubTopic:
General
Tags: