Commit Graph

291 Commits (a93a4b39571db0ab6ad0b4ef42a6b8734ca05135)
 

Author SHA1 Message Date
Yurij Mikhalevich a93a4b3957
python: fix faiss.ResultHeap (#1287)
Fixes typos in `faiss.ResultHeap`.
2020-07-27 17:27:07 +02:00
Eduardo Pinho bf593c0fae
[c_api] Fix GPU library build (#1296)
- depend on libfaiss.so instead of libgpufaiss.so
- update include directives in gpu C wrapper impl
- fix implicit call warning in C examples
2020-07-27 17:26:17 +02:00
glutamatt 9e5d5b722e
fix free parameterspace (#1243) 2020-07-09 09:32:03 +02:00
Wenhao Liu d76d26964c
Add missing header include (#1245)
Add missing header include for index_gpu_to_cpu function
2020-07-09 09:30:44 +02:00
Matthijs Douze 9258a9535e
fix datatypes for mac (#1270) 2020-06-28 13:00:44 +02:00
Matthijs Douze e8c8db85ae fix #1213 2020-06-02 13:59:39 -07:00
Nackel 833d417db1
Correct a spelling mistake (#1190)
thanks
2020-05-05 12:18:10 +02:00
Matthijs Douze c6bc8c46f1
Update README.md 2020-03-30 09:20:19 +02:00
Matthijs Douze a5b850dec6
Update README.md 2020-03-30 09:19:07 +02:00
Jeff Johnson f1fe029e0b Merge branch 'master' of https://github.com/facebookresearch/faiss 2020-03-29 20:07:03 -07:00
Jeff Johnson e05f773f3f CUDA 8 fixes 2020-03-29 20:07:01 -07:00
Jeff Johnson ba061ff82c CUDA 10 fixes 2020-03-30 03:01:56 +00:00
Matthijs Douze 817a3ac77d
Update INSTALL.md 2020-03-29 12:43:10 +02:00
Matthijs Douze a489faf7c6
Update README.md 2020-03-29 08:46:18 +02:00
Jeff Johnson 2a36d4d8c7 fix gpu/test Makefile 2020-03-26 21:56:32 +00:00
Jeff Johnson 64dd988443 remove deleted files from template change 2020-03-25 10:57:57 -07:00
Lucas Hosseini b9914eb30a Fix conda packages build reqs. 2020-03-25 18:16:37 +01:00
Lucas Hosseini a17a631dc3
Sync 20200323. (#1157)
* Sync 20200323.

* Bump version.

* Remove warning filter.
2020-03-24 14:06:48 +01:00
Brian Hart fc2a1c1775
Improve CPU architecture tolerance (#1142)
numpy's CPU info dictionary does not have a 'flags' field on some
CPU architectures (such as ppc64le). Tolerate absence of 'flags'
when checking for instruction set to allow faiss to continue in
non-AVX2 mode on those architectures.
2020-03-20 11:32:22 +01:00
glutamatt ddd9c52f31
C API : ClusteringIterationStats integration (#1140)
Thanks for the fix @glutamatt and thanks for the review @Enet4 !

* C API : ClusteringIterationStats integration

* Update c_api/Clustering_c.h

Co-Authored-By: Eduardo Pinho <enet4mikeenet@gmail.com>

* Update c_api/Clustering_c.cpp

Co-Authored-By: Eduardo Pinho <enet4mikeenet@gmail.com>

* Update c_api/Clustering_c.cpp

Co-Authored-By: Eduardo Pinho <enet4mikeenet@gmail.com>

* Update c_api/Clustering_c.cpp

Co-Authored-By: Eduardo Pinho <enet4mikeenet@gmail.com>

* Add getter implementation

Co-authored-by: Eduardo Pinho <enet4mikeenet@gmail.com>
2020-03-12 23:22:39 +01:00
Jeff Johnson 73b4e4db28
Merge pull request #1121 from wxingda/master
Add .cuh files to install include dir.
2020-03-10 13:13:15 -07:00
Lucas Hosseini 22b7876ef5
Facebook sync (2020-03-10) (#1136) 2020-03-10 14:24:07 +01:00
wxd 0559449827
Merge pull request #1 from wxingda/wxingda-patch-1
Add cuh files to install include dir.
2020-02-29 21:12:36 +08:00
wxd a93878ff73
Add cuh files to install include dir.
Add cuh files to install include dir to enable cuda testing for user.
2020-02-29 21:09:50 +08:00
Andrei Ruslantsev 053dc46036
Add support to use selected GPUs by id (#1065)
* Add support to use selected GPUs by id

One can pass parameter gpus to index_cpu_to_gpus_list to use only selected GPU's, i.e. if we pass gpus=[1, 3, 4], we will use 1-st, 3-rd and 4-th graphical cards

* merge functions to avoid code duplication

* use first gpus if none passed
2020-02-25 10:17:15 +01:00
glutamatt 5a187120a5
[ C api ] Indexpretransform get underlying index (#1100)
Approved by @Enet4 so good by me.
2020-02-10 15:00:59 +01:00
Danil Guskov 7e08db7cb7
c_api: faiss_IndexIVF_invlists_get_ids function (#1094)
If @Enet4 approves it's fine with me.

* c_api: faiss_IndexIVF_invlists_get_ids function

* Update c_api/IndexIVF_c.h

Co-Authored-By: Eduardo Pinho <enet4mikeenet@gmail.com>

Co-authored-by: Eduardo Pinho <enet4mikeenet@gmail.com>
2020-01-31 13:40:28 +01:00
Matthijs Douze e0849496dd
Update README.md 2020-01-20 11:00:45 +01:00
Matthijs Douze 1a332509a3
Update 5-Multiple-GPUs.cpp
Thanks to gameofdimension
https://github.com/facebookresearch/faiss/pull/1060/files
2020-01-16 16:46:11 +01:00
glutamatt d278355b9c Fix typo in Clustering_c.h (#1084) 2020-01-14 15:41:07 +01:00
Matthijs Douze 281c9f7113
fixing typedef
see #1064
2020-01-03 07:19:07 +01:00
Matthijs Douze c250587c77
Update README.md 2019-12-09 13:32:36 +00:00
Lucas Hosseini 2ba6985f81 Facebook sync 20191129 (#1048)
Looks good!
2019-12-04 07:21:02 +01:00
Kota Yamaguchi 83a341f300 Replace print with logging (#964) 2019-11-21 11:42:03 +01:00
Lucas Hosseini da24fcc56e
Use intrinsics for float16 in GPU scalar quantizer. (#987) 2019-11-19 16:15:33 +01:00
mattg-sp 2ab4b4859c Fixes to enable building with -mavx, for Sandybridge CPUs. (#992)
The -mf16c (i.e. packed-half conversion instructions) weren't added until the
Ivy Bridge CPU generation (https://en.wikipedia.org/wiki/F16C#CPUs_with_F16C).
Therefore, code dependent on those intrinsics must be conditioned on __F16C__ -
not __AVX__.
2019-11-19 16:15:00 +01:00
Jose Truyol c47da8a948 [C_API] Pass compilation in current state (#989)
* Pass compilation in current state

* Fix formatting and add missing parts

* Define DistanceComputer

* Add documentation to name changed on DistanceComputer::operator()()

* Apply suggestions from code review

Changes in docs

Co-Authored-By: Eduardo Pinho <enet4mikeenet@gmail.com>

* Updated MetricType
2019-11-19 11:36:44 +01:00
Matthijs Douze 4c32fa4d14
Update demo_sift1M.cpp 2019-11-19 11:18:47 +01:00
Jin Hai e325c50e97 fix bugs with setNumProbes in GPUIndexIVF (#1011) 2019-11-10 07:37:06 +01:00
Jeff Johnson 2cce2e5f59
Merge pull request #1006 from milvus-io/1.6.0
Fix GPUSQ copyto bug
2019-10-31 23:57:57 -04:00
JinHai-CN 45639f62fa Fix GPUSQ copyto bug 2019-10-29 16:55:27 +08:00
Matthijs Douze 8bc09261f4
Update README.md 2019-10-20 09:59:18 +02:00
Matthijs Douze 10b5a1333e
Update README.md 2019-10-20 09:58:54 +02:00
Lucas Hosseini 31393764cc Prepare for v1.6.0 release. 2019-09-24 05:28:20 +02:00
Lucas Hosseini d9220806a2
Fix GPU build. (#959) 2019-09-23 00:01:49 +02:00
Matthijs Douze cdf9d914b8
Update AutoTune.h 2019-09-21 11:21:45 +02:00
Lucas Hosseini 3d0ece0cb7
Run time detection of avx2 for conda packages. (#957)
* Build conda CPU packages with run-time detection of AVX2.

* Add cudatoolkit 10.1 to conda list.

* Default to sse4 on x86_64.
2019-09-20 20:17:01 +02:00
Lucas Hosseini 36ddba9196
Facebook sync (2019-09-10) (#943)
* Facebook sync (2019-09-10)

* Fix depends Makefile target.

* Add faiss symlink for new include directives.

* Fix missing header.

* Fix tests.

* Fix Makefile.

* Update depend.

* Fix include directives spacing.
2019-09-20 18:59:10 +02:00
Scaled Dragon 8b682606e1 Fix spelling error (#919) 2019-09-02 13:51:07 +02:00
Matthijs Douze f61e6228ca
Update README.md 2019-08-30 13:49:28 +02:00