Skip to content

Commit

Permalink
Update installation.md to fix nmslib on Apple M-series (#1774)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsk authored Jan 19, 2024
1 parent b0f0180 commit 833ee19
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ If you're on a Mac with an M-series (i.e., ARM) processor, the following recipe
```bash
conda install wget -y
conda install -c conda-forge openjdk=11 maven -y
conda install -c conda-forge lightgbm nmslib -y
conda install -c conda-forge lightgbm -y

# from https://github.com/nmslib/nmslib/issues/476#issuecomment-1594889437
CFLAGS="-mavx -DWARN(a)=(a)" pip install --use-pep517 nmslib

# from https://github.com/facebookresearch/faiss/blob/main/INSTALL.md
conda install -c pytorch faiss-cpu=1.7.4 blas=1.0 -y
Expand Down

0 comments on commit 833ee19

Please sign in to comment.