README.md in torch-rb-0.10.1 vs README.md in torch-rb-0.10.2
- old
+ new
@@ -419,16 +419,28 @@
0.1.8 | 1.4.0
0.1.0-0.1.7 | 1.3.1
### Homebrew
-For Mac, you can use Homebrew.
+You can also use Homebrew.
```sh
brew install libtorch
```
-Then install the gem (no need for `bundle config`).
+For Mac ARM, run:
+
+```sh
+bundle config build.torch-rb --with-torch-dir=/opt/homebrew
+```
+
+And for Linux, run:
+
+```sh
+bundle config build.torch-rb --with-torch-dir=/home/linuxbrew/.linuxbrew
+```
+
+Then install the gem.
## Performance
Deep learning is significantly faster on a GPU. With Linux, install [CUDA](https://developer.nvidia.com/cuda-downloads) and [cuDNN](https://developer.nvidia.com/cudnn) and reinstall the gem.