Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
faiss
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
faiss
Commits
56383610
Unverified
Commit
56383610
authored
Feb 14, 2018
by
Matthijs Douze
Committed by
GitHub
Feb 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update INSTALL.md
parent
2b7d2a10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
INSTALL.md
INSTALL.md
+9
-10
No files found.
INSTALL.md
View file @
56383610
...
...
@@ -17,7 +17,11 @@ involved:
Steps 2 and 3 depend on 1, but they are otherwise independent.
Alternatively, all 3 steps above can be run by building a Docker image (see section "Docker instructions" below).
Alternatively, all 3 steps above can be run by building a Docker image (see
section "Docker instructions" below).
Alternatively, steps 1 and 3 can be built via the cmake scripts (see below).
General compilation instructions
================================
...
...
@@ -47,8 +51,7 @@ dynamic libraries (useful for the Python wrapper).
Step 1: Compiling the C++ Faiss
===============================
The CPU version of Faiss is written in C++03, so it should compile
even with relatively old C++ compilers.
The CPU version of Faiss is written in C++11.
BLAS/Lapack
-----------
...
...
@@ -190,11 +193,7 @@ the same ../makefile.inc for system-specific variables. You need
libfaiss.a from Step 1 for this to work.
The GPU version is a superset of the CPU version. In addition it
requires:
-
a C++11 compliant compiler (and flags)
-
the cuda compiler and related libraries (Cublas)
requires the cuda compiler and related libraries (Cublas)
See the example makefile on how to set the flags.
...
...
@@ -258,7 +257,7 @@ Python example with GPU support
-------------------------------
The auto-tuning example above also runs on the GPU. Edit
`tests/demo_auto_tune.py`
a
round
line 100 with the values
`tests/demo_auto_tune.py`
a
t
line 100 with the values
```
python
keys_to_test
=
keys_gpu
...
...
@@ -320,7 +319,7 @@ the executable should be linked to one of these. If you use
the static version (.a), add the LDFLAGS used in the Makefile.
For binary-only distributions, the include files should be under
a
faiss/
directory, so that they can be included as
a
`faiss/`
directory, so that they can be included as
```
c++
#include <faiss/IndexIVFPQ.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment