Commit Graph

24 Commits (2bfbead8f1f29030c11797d161b0b9dec6c2d8a3)

Author SHA1 Message Date
Lucas Hosseini a8118acbc5
Facebook sync (May 2019) + relicense (#838)
Changelog:

- changed license: BSD+Patents -> MIT
- propagates exceptions raised in sub-indexes of IndexShards and IndexReplicas
- support for searching several inverted lists in parallel (parallel_mode != 0)
- better support for PQ codes where nbit != 8 or 16
- IVFSpectralHash implementation: spectral hash codes inside an IVF
- 6-bit per component scalar quantizer (4 and 8 bit were already supported)
- combinations of inverted lists: HStackInvertedLists and VStackInvertedLists
- configurable number of threads for OnDiskInvertedLists prefetching (including 0=no prefetch)
- more test and demo code compatible with Python 3 (print with parentheses)
- refactored benchmark code: data loading is now in a single file
2019-05-28 16:17:22 +02:00
Alex Shen f56ea1c4de PYTHON executable location is missing in example makefile.inc (#626) 2018-11-23 14:18:33 +01:00
Lucas Hosseini cf18101f6d Refactor makefiles and add configure script (#466)
* Refactors Makefiles and add configure script.

* Give MKL higher priority in configure script.

* Clean up Linux example makefile.inc.

* Cleanup makefile.inc examples.

* Fix python clean Makefile target.

* Regen swig wrappers.

* Remove useless CUDAFLAGS variable.

* Fix python linking flags.

* Separate compile and link phase in python makefile.

* Add macro to look for swig.

* Add CUDA check in configure script.

* Cleanup make depend targets.

* Cleanup CUDA flags.

* Fix linking flags.

* Fix python GPU linking.

* Remove useless flags from python gpu module linking.

* Add check for cuda libs.

* Cleanup GPU targets.

* Clean up test target.

* Add cpu/gpu targets to python makefile.

* Clean up tutorial Makefile.

* Remove stale OS var from example makefiles.

* Clean up cuda example flags.
2018-06-02 08:35:30 +02:00
Matthijs Douze f87349b6e7
remove redundant flag 2018-05-25 10:10:06 +02:00
matthijs 4d440b6698 fix Makefile flags 2018-02-28 01:03:20 -08:00
Eduardo Pinho de0541c365 Add C API (#317)
* Add C API

* Add installation instructions for the C API
2018-02-26 11:23:17 +01:00
Israel Zalmanov f1e4110684 use brew to install OpenBLAS rather than port (#316) 2018-01-18 07:18:03 +01:00
Jason Gauci f82e8a45bd Fix for homebrew and support for non-standard python distributions (#242)
* fixes for homebrew and anaconda python

* remove #/bin/bash

* PR feedback and handle different versions of LLVM
2017-11-06 18:06:45 +01:00
Ivan Lobov 2eb8eb9915 Fix makefile.inc.Mac.brew (#232)
Accepting this 2-word PR without CLA....
2017-10-27 08:16:30 +02:00
Matthijs Douze 6b3b743986 Update makefile.inc.Linux 2017-09-04 07:07:31 +02:00
Julieta 486ec6c6ac Add LD_PRELOAD update to MKL compile instructions (#197)
It took me quite some time to get around this error -- it might save others time.
2017-08-31 06:31:33 +02:00
matthijs 8e3dc6f2b0 changed license 2017-07-30 00:18:45 -07:00
Matthijs Douze 47ee2d8de7 Update makefile.inc.Linux 2017-07-11 12:01:57 +02:00
matthijs 5ca05218c0 move to C++11 2017-06-21 09:35:06 -07:00
Pierre Letessier 281683100a Docker improvements (#88)
* Docker build from local sources rather than Github cloned sources

* Update INSTALL instructions for docker build from Github repo

* Back to generic makefile.inc.Linux and use of env var in Dockerfile

* Back to generic makefile.inc.Linux and use of env var in Dockerfile
2017-04-19 10:22:25 +02:00
Matthijs Douze f7fb309eba Revert quoting of BLASLDFLAGS 2017-03-09 22:20:44 -05:00
Harvey 83e3c26864 Add Quotation Marks for mutiple BLASLDFLAGS in makefile.inc.Linux (#30) 2017-03-09 07:07:19 -05:00
Laurent Chauvin 5e109cd2b4 Removed numpy directory from include directory (#17)
swiggfaiss_wrap.cxx already include <numpy/arrayobject.h>, if compiled with -I/usr/lib64/python2.7/site-packages/numpy/core/include/numpy, file will be searched at /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/numpy/arrayobject.h and will not be found.
2017-03-04 23:15:02 +01:00
Bruno Guberfain do Amaral aabe9c775e Changing a few settings for MKL on Ubuntu (#13)
* Changing a few settings for MKL on Ubuntu

This is my current configuration for MKL on Ubuntu.
I also corrected the `BLASLDFLAGS=-DFINTEGER=long` line (it should be `BLASCFLAGS`).

* Update makefile.inc.Linux

Tested and documented on MLK 2017.0.098
2017-03-03 22:37:57 +01:00
mdouze add4d55f92 How to compile for ubuntu 14 2017-03-03 10:49:35 +01:00
mdouze c68fa0a35f Python 3 instructions 2017-03-03 07:45:43 +01:00
mdouze e5b3abd45d Update makefile.inc.Linux 2017-02-24 18:33:15 +01:00
matthijs 00c288c0d9 added benchmarking scripts 2017-02-24 08:37:57 -08:00
Matthijs Douze c670118a4e Initial commit 2017-02-22 23:26:44 +01:00