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
Summary:
Small updates to the ReadMe files. More detailed description in a follow up PR for the wiki.
Remove the cuvs conda CI checks
Pull Request resolved: facebookresearch#4084
Reviewed By: mengdilin
Differential Revision: D67602013
Pulled By: mnorris11
fbshipit-source-id: f7c40440d278f00195bcad2dbdd2187325f40662
Copy file name to clipboardExpand all lines: INSTALL.md
+29-10Lines changed: 29 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ pre-release nightly builds.
6
6
7
7
- The CPU-only faiss-cpu conda package is currently available on Linux (x86-64 and aarch64), OSX (arm64 only), and Windows (x86-64)
8
8
- faiss-gpu, containing both CPU and GPU indices, is available on Linux (x86-64 only) for CUDA 11.4 and 12.1
9
-
- faiss-gpu-raft containing both CPU and GPU indices provided by NVIDIA RAFT, is available on Linux (x86-64 only) for CUDA 11.8 and 12.1.
9
+
- faiss-gpu-raft [^1] package containing GPU indices provided by [NVIDIA RAFT](https://github.com/rapidsai/raft/) version 24.06, is available on Linux (x86-64 only) for CUDA 11.8 and 12.4.
For more ways to install cuVS 24.12, refer to the [RAPIDS Installation Guide](https://docs.rapids.ai/install).
122
+
106
123
## Step 1: invoking CMake
107
124
108
125
```shell
@@ -118,9 +135,9 @@ Several options can be passed to CMake, among which:
118
135
values are `ON` and `OFF`),
119
136
-`-DFAISS_ENABLE_PYTHON=OFF` in order to disable building python bindings
120
137
(possible values are `ON` and `OFF`),
121
-
-`-DFAISS_ENABLE_CUVS=ON` in order to enable building the cuVS implementations
122
-
of the IVF-Flat and IVF-PQ GPU-accelerated indices (default is `OFF`, possible
123
-
values are `ON` and `OFF`)
138
+
-`-DFAISS_ENABLE_CUVS=ON` in order to use the NVIDIA cuVS implementations
139
+
of the IVF-Flat, IVF-PQ and [CAGRA](https://arxiv.org/pdf/2308.15136)GPU-accelerated indices (default is `OFF`, possible, values are `ON` and `OFF`).
140
+
Note: `-DFAISS_ENABLE_GPU` must be set to `ON` when enabling this option.
124
141
-`-DBUILD_TESTING=OFF` in order to disable building C++ tests,
125
142
-`-DBUILD_SHARED_LIBS=ON` in order to build a shared library (possible values
126
143
are `ON` and `OFF`),
@@ -302,3 +319,5 @@ and you can run
302
319
$ python demos/demo_auto_tune.py
303
320
```
304
321
to test the GPU code.
322
+
323
+
[^1]: The vector search and clustering algorithms in NVIDIA RAFT have been formally migrated to [NVIDIA cuVS](https://github.com/rapidsai/cuvs). This package is being renamed to `faiss-gpu-cuvs` in the next stable release, which will use these GPU implementations from the pre-compiled `libcuvs=24.12` binary.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ The GPU implementation can accept input from either CPU or GPU memory. On a serv
16
16
17
17
## Installing
18
18
19
-
Faiss comes with precompiled libraries for Anaconda in Python, see [faiss-cpu](https://anaconda.org/pytorch/faiss-cpu)and [faiss-gpu](https://anaconda.org/pytorch/faiss-gpu). The library is mostly implemented in C++, the only dependency is a [BLAS](https://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprograms) implementation. Optional GPU support is provided via CUDA or AMD ROCm, and the Python interface is also optional. It compiles with cmake. See [INSTALL.md](INSTALL.md) for details.
19
+
Faiss comes with precompiled libraries for Anaconda in Python, see [faiss-cpu](https://anaconda.org/pytorch/faiss-cpu), [faiss-gpu](https://anaconda.org/pytorch/faiss-gpu)and [faiss-gpu-cuvs](https://anaconda.org/pytorch/faiss-gpu-cuvs). The library is mostly implemented in C++, the only dependency is a [BLAS](https://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprograms) implementation. Optional GPU support is provided via CUDA or AMD ROCm, and the Python interface is also optional. The backend GPU implementations of NVIDIA [cuVS](https://github.com/rapidsai/cuvs) can also be enabled optionally. It compiles with cmake. See [INSTALL.md](INSTALL.md) for details.
0 commit comments