mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Can't install tf2 on M1 Chip by default (#22046)
This commit is contained in:
parent
81cd655cab
commit
684774306d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user