From 7d34e5e906b41ea03832e3be825a57356b61b709 Mon Sep 17 00:00:00 2001 From: Shaun VanWeelden Date: Thu, 9 Mar 2023 00:55:29 -0400 Subject: [PATCH] Can't install tf2 on M1 Chip by default --- docs/source/en/installation.mdx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/source/en/installation.mdx b/docs/source/en/installation.mdx index 4ff4e04436c7..88e485b54f52 100644 --- a/docs/source/en/installation.mdx +++ b/docs/source/en/installation.mdx @@ -63,6 +63,18 @@ pip install transformers[torch] pip install transformers[tf-cpu] ``` + + +M1 / ARM Users + +You will need to install the following before installing TensorFLow 2.0 +``` +brew install cmake +brew install pkg-config +``` + + + 🤗 Transformers and Flax: ```bash @@ -237,4 +249,4 @@ Once your file is downloaded and locally cached, specify it's local path to load See the [How to download files from the Hub](https://huggingface.co/docs/hub/how-to-downstream) section for more details on downloading files stored on the Hub. - \ No newline at end of file +