Can't install tf2 on M1 Chip by default (#22046)
This commit is contained in:
@@ -63,6 +63,18 @@ pip install 'transformers[torch]'
|
|||||||
pip install 'transformers[tf-cpu]'
|
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:
|
🤗 Transformers and Flax:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user