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
Matthijs Douze
c364c2b91c
Update search_server.py
2019-08-29 15:36:20 +02:00
Matthijs Douze
983a1f6b8b
Update run_on_cluster.bash
2019-08-29 15:36:07 +02:00
Matthijs Douze
d9a01b2d5c
Update rpc.py
2019-08-29 15:35:53 +02:00
Matthijs Douze
64828d2851
Update merge_to_ondisk.py
2019-08-29 15:35:39 +02:00
Matthijs Douze
0fdd38055b
Update make_trained_index.py
2019-08-29 15:35:21 +02:00
Matthijs Douze
29e0514128
Update make_index_vslice.py
2019-08-29 15:35:07 +02:00
Matthijs Douze
87c83b9d97
Update distributed_query_demo.py
2019-08-29 15:34:50 +02:00
Matthijs Douze
a9a475b003
Update distributed_kmeans.py
2019-08-29 15:34:14 +02:00
Matthijs Douze
10ca6e20d4
Update combined_index.py
2019-08-29 15:33:50 +02:00
Matthijs Douze
8d08912453
Ondisk distributed index implementation ( #930 )
...
Adds the code for the distributed on-disk index
2019-08-29 13:44:08 +02:00
Lucas Hosseini
656368b5ed
Dynamically detect avx2 capabilities ( #877 )
...
* Install scipy via pip rather than system package manager
* Dynamically detect AVX2 capability
* Simplify build on TravisCI
2019-06-28 13:50:46 +02:00
Matthijs Douze
70f5b04206
Update CONTRIBUTING.md
2019-06-25 17:27:23 +02:00
Lucas Hosseini
0ca46ee474
Update README.md
2019-06-24 18:51:00 +02:00
Lucas Hosseini
efa81eec76
Prepare for v1.5.3 release.
2019-06-24 17:41:35 +02:00
Eduardo Pinho
828dcea400
[C API] June 2019 update ( #869 )
...
* [c_api] use all relevant flags in compilation
* [c_api] Remove redundant IndexIVFFlat declarations
- From IndexIVF_c.h, already declared in IndexIVFFlat_c.h
* [c_api] type changes
- replace `long` with a more suitable type
- provide definitions for `faiss_component_t` and `faiss_distance_t`
* [c_api] Define CFLAGS and CUDACFLAGS
2019-06-24 13:29:38 +02:00
Lucas Hosseini
1cbc999610
Add -mavx2 -mf16c to CPUFLAGS. ( #871 )
2019-06-24 13:28:58 +02:00
chck
fc9856a25e
Fix gpu compilation with cuda 10.1 related to #751 ( #865 )
2019-06-21 19:43:53 +02:00
Lucas Hosseini
d224d11c9d
Revert swigfaiss import for python 3 compatibility. ( #868 )
2019-06-20 06:13:38 +02:00