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

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