Can't install tf2 on M1 Chip by default (#22046)

This commit is contained in:
Shaun VanWeelden 2023-03-09 08:44:58 -04:00 committed by GitHub
parent 81cd655cab
commit 684774306d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,18 @@ pip install 'transformers[torch]'
pip install 'transformers[tf-cpu]'
```
<Tip warning={true}>
M1 / ARM Users
You will need to install the following before installing TensorFLow 2.0
```
brew install cmake
brew install pkg-config
```
</Tip>
🤗 Transformers and Flax:
```bash