Lucas Hosseini
9a7f2b9bd0
Avoid OpenMP 4.0 custom reduction. ( #1344 )
...
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1344
Test Plan: Imported from OSS
Reviewed By: mdouze
Differential Revision: D23234970
Pulled By: beauby
fbshipit-source-id: 38aad08c0c856be425cea163bef7d29715a4cd39
2020-08-20 10:45:28 -07:00
Lucas Hosseini
b35dec740d
Fix unsigned OpenMP loop indices (disallowed in OpenMP 2). ( #1343 )
...
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1343
Test Plan: Imported from OSS
Reviewed By: mdouze
Differential Revision: D23234967
Pulled By: beauby
fbshipit-source-id: e4f1541c4460052a9cbccc3a9365206bfa330694
2020-08-20 10:45:28 -07:00
Lucas Hosseini
91ab745da8
Fix long literals used as 64 bit. ( #1342 )
...
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1342
Test Plan: Imported from OSS
Reviewed By: mdouze
Differential Revision: D23234963
Pulled By: beauby
fbshipit-source-id: 1c28f9c88777b31c1e2f432966c51f2986746965
2020-08-20 10:45:28 -07:00
Lucas Hosseini
7cc320e438
Replace finite() with std::isfinite(). ( #1341 )
...
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1341
Test Plan: Imported from OSS
Reviewed By: mdouze
Differential Revision: D23234968
Pulled By: beauby
fbshipit-source-id: f7ba7bd473e05f2ba4d0ca555bc78965f5aa3fd1
2020-08-20 10:45:27 -07:00
Lucas Hosseini
7b615ed5d9
Replace bzero (deprecated in POSIX 2001) with memset. ( #1340 )
...
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1340
Test Plan: Imported from OSS
Reviewed By: mdouze
Differential Revision: D23234969
Pulled By: beauby
fbshipit-source-id: 0e016c3502cd2e97eae2c2a010525e08f32ec5e2
2020-08-20 10:45:27 -07:00
Lucas Hosseini
7c1c7f81d2
Fix division by zero. ( #1339 )
...
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1339
Test Plan: Imported from OSS
Reviewed By: mdouze
Differential Revision: D23234966
Pulled By: beauby
fbshipit-source-id: 43142bbf2e30ce69dd15dfc1818d3e3079c7ec48
2020-08-20 10:45:27 -07:00
Lucas Hosseini
a97ebeeabd
Fix format specifiers for size_t/idx_t. ( #1338 )
...
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1338
Test Plan: Imported from OSS
Reviewed By: mdouze
Differential Revision: D23234964
Pulled By: beauby
fbshipit-source-id: 2222d90d8ca3f9a6ac3a9e624e7ec87072da3a25
2020-08-20 10:45:27 -07:00
Lucas Hosseini
8438062b88
Add missing algorithm header. ( #1337 )
...
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1337
Test Plan: Imported from OSS
Reviewed By: mdouze
Differential Revision: D23234965
Pulled By: beauby
fbshipit-source-id: 1b4af90fdda37d4554f9f8774ac4559f481197a0
2020-08-20 10:45:27 -07:00
Lucas Hosseini
f3727a62f5
Remove python shebangs in tests.
...
Reviewed By: mdouze
Differential Revision: D23167048
fbshipit-source-id: 98196f489461bc922e6124e88e0bfb32dfe507ca
2020-08-17 11:46:26 -07:00
Lucas Hosseini
b539a73e58
Linter auto-fix.
...
Summary: `arc lint faiss/**/*`
Reviewed By: LowikC
Differential Revision: D22891305
fbshipit-source-id: 45bab7294ccccf70898b4967b03683894b6ae4c4
2020-08-16 19:52:27 -07:00
psj8252
e1985c3005
Remove wrong assertion ( #1327 )
...
Summary:
https://github.com/facebookresearch/faiss/issues/1316
Maybe when updating metrics inner product for hnsw, this should be removed.
removed wrong throw line.
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1327
Reviewed By: beauby
Differential Revision: D23105148
Pulled By: mdouze
fbshipit-source-id: 1dabcafd1fc9d766722b82b002d398954bd59397
2020-08-15 16:09:24 -07:00
Lucas Hosseini
b7b261cad1
Move from TravisCI to CircleCI ( #1315 )
...
Summary:
Depends on https://github.com/facebookresearch/faiss/issues/1313 .
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1315
Reviewed By: mdouze
Differential Revision: D23148557
Pulled By: beauby
fbshipit-source-id: 0a35f17d22aa04db6bd1c16cfc5ff8eee28f1f74
2020-08-15 04:00:51 -07:00
Lucas Hosseini
a8e4c5e2d5
Move build to CMake ( #1313 )
...
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1313
Reviewed By: mdouze
Differential Revision: D22948267
Pulled By: beauby
fbshipit-source-id: ec16fa0342f37672d46fb7886ecc55c7996011c4
2020-08-14 15:03:10 -07:00
Matthijs Douze
4c3b5ad156
Add missing downcast ( #1330 )
...
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1330
add missing downcast for Index (and test for github sync)
See github issue https://github.com/facebookresearch/faiss/issues/1278
Reviewed By: beauby
Differential Revision: D23053182
fbshipit-source-id: 1ce4c248342332ce632ecfd5074affa3ddf55b66
2020-08-13 16:37:58 -07:00
Lucas Hosseini
569c855ed0
Fix guard clauses for SSE3. ( #1325 )
...
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1325
Reviewed By: mdouze
Differential Revision: D23104964
Pulled By: beauby
fbshipit-source-id: 04705f1695e65682748b6308fd5d3e217a4af75a
2020-08-13 10:10:19 -07:00
kfoldcrossvalidator
13a2d4ef8f
Update INSTALL.md ( #1222 )
...
Summary:
Added a quotation mark here, so copy and pasting works.
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1222
Reviewed By: patricklabatut
Differential Revision: D23002083
Pulled By: beauby
fbshipit-source-id: e92b07a5326b3b79f035e8869937d853bec1df69
2020-08-07 11:10:59 -07:00
imlidian
bc52661468
fixed. wrong python path on install doc ( #1321 )
...
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1321
Reviewed By: patricklabatut
Differential Revision: D22999873
Pulled By: beauby
fbshipit-source-id: 28696e8f7bb9e2bf6a8092b19853ac331415f810
2020-08-07 08:46:52 -07:00
Lucas Hosseini
b23cb289d3
Fix AVX2 preprocessor guard. ( #1317 )
...
Summary:
Some avx2 function calls were guarded with `__AVX__` instead of `__AVX2__`.
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1317
Reviewed By: patricklabatut
Differential Revision: D22981635
Pulled By: beauby
fbshipit-source-id: 79ac3184bd32c94bc75a4c3118ae8cd2ea187fe3
2020-08-06 13:41:38 -07:00
Lucas Hosseini
ac74f576f7
fbshipit-source-id: 4f3cfa59471d548af93fe118d1b73d45bc648edf
2020-08-04 12:00:38 -07:00
Lucas Hosseini
31f27bd15a
ShipIt sync.
...
fbshipit-source-id: f8ed169dc1d95b3364f4a158efb9fae531a5901d
2020-08-04 09:57:43 -07:00
Lucas Hosseini
750d43f7f1
Move source code to faiss/ subdirectory. ( #1312 )
...
* Move source code to faiss/ subdirectory.
* Remove stale files.
2020-08-04 17:16:58 +02:00
Lucas Hosseini
cd38e82f0c
Facebook sync 2020-07-31 ( #1308 )
2020-08-03 22:15:02 +02:00
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.
v1.6.3
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 )
v1.6.2
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