Skip to content

Commit

Permalink
Can't install tf2 on M1 Chip by default (huggingface#22046)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaun-scale authored and raghavanone committed Apr 5, 2023
1 parent 67bd8ee commit c2420fd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/source/en/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c2420fd

Please sign in to comment.