From 943d08bdad7946b22f56d040756669ee444dd681 Mon Sep 17 00:00:00 2001 From: Junjie Qi Date: Thu, 29 Feb 2024 13:24:50 -0800 Subject: [PATCH] Prepare for v.1.8.0 release (#3265) Summary: Prepare for v1.8.0 release Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3265 Reviewed By: mdouze Differential Revision: D54232846 Pulled By: junjieqi fbshipit-source-id: f92efc93e340507262321c5033bab7fede7d7f40 --- CHANGELOG.md | 32 ++++++++++++++++++++++++++++++-- CMakeLists.txt | 2 +- faiss/Index.h | 4 ++-- faiss/python/setup.py | 2 +- 4 files changed, 34 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae418b09b4..e61bd997ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,34 @@ We try to indicate most contributions here with the contributor names who are no the Facebook Faiss team. Feel free to add entries here if you submit a PR. ## [Unreleased] -- Support for range search in HNSW and Fast scan IVF. + +## [1.8.0] - 2024-02-27 +### Added +- Added a new conda package faiss-gpu-raft alongside faiss-cpu and faiss-gpu +- Integrated IVF-Flat and IVF-PQ implementations in faiss-gpu-raft from RAFT by Nvidia [thanks Corey Nolet and Tarang Jain] +- Added a context parameter to InvertedLists and InvertedListsIterator +- Added Faiss on Rocksdb demo to showing how inverted lists can be persisted in a key-value store +- Introduced Offline IVF framework powered by Faiss big batch search +- Added SIMD NEON Optimization for QT_FP16 in Scalar Quantizer. [thanks Naveen Tatikonda] +- Generalized ResultHandler and supported range search for HNSW and FastScan +- Introduced avx512 optimization mode and FAISS_OPT_LEVEL env variable [thanks Alexandr Ghuzva] +- Added search parameters for IndexRefine::search() and IndexRefineFlat::search() +- Supported large two-level clustering +- Added support for Python 3.11 and 3.12 +- Added support for CUDA 12 + +### Changed +- Used the benchmark to find Pareto optimal indices. Intentionally limited to IVF(Flat|HNSW),PQ|SQ indices +- Splitted off RQ encoding steps to another file +- Supported better NaN handling +- HNSW speedup + Distance 4 points [thanks Alexandr Ghuzva] + +### Fixed +- Fixed DeviceVector reallocations in Faiss GPU +- Used efSearch from params if provided in HNSW search +- Fixed warp synchronous behavior in Faiss GPU CUDA 12 + + ## [1.7.4] - 2023-04-12 ### Added - Added big batch IVF search for conducting efficient search with big batches of queries @@ -259,7 +286,8 @@ by conda install -c pytorch faiss-gpu cudatoolkit=10.0. - C bindings. - Extended tutorial to GPU indices. -[Unreleased]: https://github.com/facebookresearch/faiss/compare/v1.7.4...HEAD +[Unreleased]: https://github.com/facebookresearch/faiss/compare/v1.8.0...HEAD +[1.8.0]: https://github.com/facebookresearch/faiss/compare/v1.7.4...v1.8.0 [1.7.4]: https://github.com/facebookresearch/faiss/compare/v1.7.3...v1.7.4 [1.7.3]: https://github.com/facebookresearch/faiss/compare/v1.7.2...v1.7.3 [1.7.2]: https://github.com/facebookresearch/faiss/compare/v1.7.1...v1.7.2 diff --git a/CMakeLists.txt b/CMakeLists.txt index 445b39d59e..6cdc37c46f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,7 @@ rapids_cuda_init_architectures(faiss_c_library) endif() project(faiss - VERSION 1.7.4 + VERSION 1.8.0 DESCRIPTION "A library for efficient similarity search and clustering of dense vectors." HOMEPAGE_URL "https://github.com/facebookresearch/faiss" LANGUAGES ${FAISS_LANGUAGES}) diff --git a/faiss/Index.h b/faiss/Index.h index 4b4b302b47..3d1bdb996a 100644 --- a/faiss/Index.h +++ b/faiss/Index.h @@ -17,8 +17,8 @@ #include #define FAISS_VERSION_MAJOR 1 -#define FAISS_VERSION_MINOR 7 -#define FAISS_VERSION_PATCH 4 +#define FAISS_VERSION_MINOR 8 +#define FAISS_VERSION_PATCH 0 /** * @namespace faiss diff --git a/faiss/python/setup.py b/faiss/python/setup.py index 3b4f2e9c83..939aeeffbe 100644 --- a/faiss/python/setup.py +++ b/faiss/python/setup.py @@ -60,7 +60,7 @@ """ setup( name='faiss', - version='1.7.4', + version='1.8.0', description='A library for efficient similarity search and clustering of dense vectors', long_description=long_description, url='https://github.com/facebookresearch/faiss',