You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTALL.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ Several options can be passed to CMake, among which:
131
131
optimization options (enables `-O3` on gcc for instance),
132
132
-`-DFAISS_OPT_LEVEL=avx2` in order to enable the required compiler flags to
133
133
generate code using optimized SIMD/Vector instructions. Possible values are below:
134
-
- On x86-64, `generic`, `avx2`and `avx512`, by increasing order of optimization,
134
+
- On x86-64, `generic`, `avx2`, 'avx512', and `avx512_spr` (for avx512 features available since Intel(R) Sapphire Rapids), by increasing order of optimization,
135
135
- On aarch64, `generic` and `sve`, by increasing order of optimization,
136
136
-`-DFAISS_USE_LTO=ON` in order to enable [Link-Time Optimization](https://en.wikipedia.org/wiki/Link-time_optimization) (default is `OFF`, possible values are `ON` and `OFF`).
137
137
- BLAS-related options:
@@ -180,6 +180,12 @@ For AVX512:
180
180
$ make -C build -j faiss_avx512
181
181
```
182
182
183
+
For AVX512 features available since Intel(R) Sapphire Rapids.
184
+
185
+
```shell
186
+
$ make -C build -j faiss_avx512_spr
187
+
```
188
+
183
189
This will ensure the creation of neccesary files when building and installing the python package.
184
190
185
191
## Step 3: Building the python bindings (optional)
0 commit comments