Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Calculate max cluster size correctly for IVF-PQ (#938)
This PR fixes the calculation of max cluster size. Previous calculation could return much larger than the actual values, which could lead to OOM while allocating temporary buffers while building index for large datasets. Authors: - Tamas Bela Feher (https://github.com/tfeher) Approvers: - Artem M. Chirkin (https://github.com/achirkin) - Corey J. Nolet (https://github.com/cjnolet) URL: #938
- Loading branch information